All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next] net: microchip: Remove unused inline function is_bits_set
@ 2020-05-05  8:44 YueHaibing
  2020-05-05 19:46 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: YueHaibing @ 2020-05-05  8:44 UTC (permalink / raw)
  To: davem, tglx; +Cc: netdev, linux-kernel, YueHaibing

There's no callers in-tree.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 drivers/net/ethernet/microchip/encx24j600-regmap.c | 5 -----
 1 file changed, 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)
 {
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net-next] net: microchip: Remove unused inline function is_bits_set
  2020-05-05  8:44 [PATCH net-next] net: microchip: Remove unused inline function is_bits_set YueHaibing
@ 2020-05-05 19:46 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2020-05-05 19:46 UTC (permalink / raw)
  To: yuehaibing; +Cc: tglx, netdev, linux-kernel

From: YueHaibing <yuehaibing@huawei.com>
Date: Tue, 5 May 2020 16:44:21 +0800

> There's no callers in-tree.
> 
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-05 19:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-05  8:44 [PATCH net-next] net: microchip: Remove unused inline function is_bits_set YueHaibing
2020-05-05 19:46 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.