projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7018065
)
[PACKET]: Kill unused pg_vec_endpage() function
author
Patrick McHardy
<kaber@trash.net>
Fri, 19 Oct 2007 04:58:19 +0000
(21:58 -0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 19 Oct 2007 04:58:19 +0000
(21:58 -0700)
The conversion to vm_insert_page() left this unused function behind,
remove it.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/packet/af_packet.c
patch
|
blob
|
history
diff --git
a/net/packet/af_packet.c
b/net/packet/af_packet.c
index e11000a8e950950cd5a52ece4597c72761dc8d38..d0936506b731abf62d5fabffe289a44789c52768 100644
(file)
--- 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;