Skip to content

Commit

Permalink
net: microchip: Remove unused inline function is_bits_set
Browse files Browse the repository at this point in the history
There's no callers in-tree.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
YueHaibing authored and David S. Miller committed May 5, 2020
1 parent 9f410c2 commit b16751f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/net/ethernet/microchip/encx24j600-regmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit b16751f

Please sign in to comment.