Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=be702d5e38e2e7e554604b223794f87c12fa6811 Commit: be702d5e38e2e7e554604b223794f87c12fa6811 Parent: 70180659a479b55387eca8cc1fa7024ba8410b14 Author: Patrick McHardy <[EMAIL PROTECTED]> AuthorDate: Thu Oct 18 21:58:19 2007 -0700 Committer: David S. Miller <[EMAIL PROTECTED]> CommitDate: Thu Oct 18 21:58:19 2007 -0700
[PACKET]: Kill unused pg_vec_endpage() function The conversion to vm_insert_page() left this unused function behind, remove it. Signed-off-by: Patrick McHardy <[EMAIL PROTECTED]> Signed-off-by: David S. Miller <[EMAIL PROTECTED]> --- net/packet/af_packet.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c index e11000a..d093650 100644 --- a/net/packet/af_packet.c +++ b/net/packet/af_packet.c @@ -1623,11 +1623,6 @@ static struct vm_operations_struct packet_mmap_ops = { .close =packet_mm_close, }; -static inline struct page *pg_vec_endpage(char *one_pg_vec, unsigned int order) -{ - return virt_to_page(one_pg_vec + (PAGE_SIZE << order) - 1); -} - static void free_pg_vec(char **pg_vec, unsigned int order, unsigned int len) { int i; - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html