Commit be702d5e authored by Patrick McHardy's avatar Patrick McHardy Committed by David S. Miller

[PACKET]: Kill unused pg_vec_endpage() function

The conversion to vm_insert_page() left this unused function behind,
remove it.
Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 70180659
...@@ -1623,11 +1623,6 @@ static struct vm_operations_struct packet_mmap_ops = { ...@@ -1623,11 +1623,6 @@ static struct vm_operations_struct packet_mmap_ops = {
.close =packet_mm_close, .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) static void free_pg_vec(char **pg_vec, unsigned int order, unsigned int len)
{ {
int i; int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment