From b16751f7adae1d1b6beae0a44cd45d65715ddbf2 Mon Sep 17 00:00:00 2001 From: YueHaibing Date: Tue, 5 May 2020 16:44:21 +0800 Subject: net: microchip: Remove unused inline function is_bits_set There's no callers in-tree. Signed-off-by: YueHaibing Signed-off-by: David S. Miller --- drivers/net/ethernet/microchip/encx24j600-regmap.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'drivers/net/ethernet/microchip') 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) { -- cgit v1.2.3