aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/microchip
diff options
context:
space:
mode:
authorYueHaibing2020-05-05 16:44:21 +0800
committerDavid S. Miller2020-05-05 12:07:43 -0700
commitb16751f7adae1d1b6beae0a44cd45d65715ddbf2 (patch)
treee980c79502cf2d5e728bc4797dd7615b17b98ad6 /drivers/net/ethernet/microchip
parent9f410c2cb7371c2645f6a8cd39cea0e62e391570 (diff)
net: microchip: Remove unused inline function is_bits_set
There's no callers in-tree. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/microchip')
-rw-r--r--drivers/net/ethernet/microchip/encx24j600-regmap.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/ethernet/microchip/encx24j600-regmap.c b/drivers/net/ethernet/microchip/encx24j600-regmap.c
index 1f496fac7033..5bd7fb917b7a 100644
--- a/drivers/net/ethernet/microchip/encx24j600-regmap.c
+++ b/drivers/net/ethernet/microchip/encx24j600-regmap.c
@@ -17,11 +17,6 @@
#include "encx24j600_hw.h"
-static inline bool is_bits_set(int value, int mask)
-{
- return (value & mask) == mask;
-}
-
static int encx24j600_switch_bank(struct encx24j600_context *ctx,
int bank)
{