ibmveth: Remove unused page_offset macro
PATCH 1/1 ibmveth: Remove unused page_offset macro
From: Matthew Wilcox (Oracle) <[email protected]>
We already have a function called page_offset(), and this macro is unused, so just delete it.
Signed-off-by Matthew Wilcox (Oracle) <[email protected]>
drivers/net/ethernet/ibm/ibmveth.c +0 -2
@@ -978,8 +978,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) {
From: Matthew Wilcox <[email protected]>
Date: Tue, 3 Mar 2020 19:54:55 -0800
Quoted 6 lines
From: Matthew Wilcox (Oracle) <[email protected]>
We already have a function called
page_offset(), and this macro is unused, so just delete it.Signed-off-by Matthew Wilcox (Oracle) <[email protected]>
Applied to net-next, thanks!