OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d10001
)
ibmveth: Remove unused page_offset macro
author
Matthew Wilcox (Oracle)
<willy@infradead.org>
Wed, 4 Mar 2020 03:54:55 +0000
(19:54 -0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 6 Mar 2020 01:35:06 +0000
(17:35 -0800)
We already have a function called page_offset(), and this macro
is unused, so just delete it.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmveth.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/ibm/ibmveth.c
b/drivers/net/ethernet/ibm/ibmveth.c
index
1fdbd76
..
96d36ae
100644
(file)
--- a/
drivers/net/ethernet/ibm/ibmveth.c
+++ b/
drivers/net/ethernet/ibm/ibmveth.c
@@
-986,8
+986,6
@@
static int ibmveth_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
return -EOPNOTSUPP;
}
-#define page_offset(v) ((unsigned long)(v) & ((1 << 12) - 1))
-
static int ibmveth_send(struct ibmveth_adapter *adapter,
union ibmveth_buf_desc *descs, unsigned long mss)
{