summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/ibm/ibmveth.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2020-03-04 06:54:55 +0300
committerDavid S. Miller <davem@davemloft.net>2020-03-06 04:35:06 +0300
commit367ab29e3d88be42504aca0af13f8ebb9451a1ed (patch)
tree045bee376ab78030a2bf7be0aee8567e4cd16079 /drivers/net/ethernet/ibm/ibmveth.c
parent7d10001e20e46ad6ad95622164686bc2cbfc9802 (diff)
downloadlinux-367ab29e3d88be42504aca0af13f8ebb9451a1ed.tar.xz
ibmveth: Remove unused page_offset macro
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>
Diffstat (limited to 'drivers/net/ethernet/ibm/ibmveth.c')
-rw-r--r--drivers/net/ethernet/ibm/ibmveth.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/ibm/ibmveth.c b/drivers/net/ethernet/ibm/ibmveth.c
index 1fdbd7649f0f..96d36ae5049e 100644
--- 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)
{