diff options
author | YueHaibing <yuehaibing@huawei.com> | 2020-05-05 10:44:21 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-05 21:07:43 +0200 |
commit | b16751f7adae1d1b6beae0a44cd45d65715ddbf2 (patch) | |
tree | e980c79502cf2d5e728bc4797dd7615b17b98ad6 /drivers/net/ethernet/microchip/encx24j600-regmap.c | |
parent | myri10ge: Remove unused inline function myri10ge_vlan_ip_csum (diff) | |
download | linux-b16751f7adae1d1b6beae0a44cd45d65715ddbf2.tar.xz linux-b16751f7adae1d1b6beae0a44cd45d65715ddbf2.zip |
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/encx24j600-regmap.c')
-rw-r--r-- | drivers/net/ethernet/microchip/encx24j600-regmap.c | 5 |
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) { |