diff mbox series

[net-next] net: sierra_net: Remove unused inline function

Message ID 20200505085124.53000-1-yuehaibing@huawei.com (mailing list archive)
State Mainlined
Commit 5b545cbc0a57fc93617785ed5c165f5059e36498
Headers show
Series [net-next] net: sierra_net: Remove unused inline function | expand

Commit Message

Yue Haibing May 5, 2020, 8:51 a.m. UTC
There's no callers in-tree

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 drivers/net/usb/sierra_net.c | 5 -----
 1 file changed, 5 deletions(-)

Comments

David Miller May 5, 2020, 7:47 p.m. UTC | #1
From: YueHaibing <yuehaibing@huawei.com>
Date: Tue, 5 May 2020 16:51:24 +0800

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

Applied.
diff mbox series

Patch

diff --git a/drivers/net/usb/sierra_net.c b/drivers/net/usb/sierra_net.c
index 389d19dd7909..0abd257b634c 100644
--- a/drivers/net/usb/sierra_net.c
+++ b/drivers/net/usb/sierra_net.c
@@ -354,11 +354,6 @@  static void sierra_net_set_ctx_index(struct sierra_net_data *priv, u8 ctx_ix)
 		cpu_to_be16(SIERRA_NET_HIP_EXT_IP_OUT_ID);
 }
 
-static inline int sierra_net_is_valid_addrlen(u8 len)
-{
-	return len == sizeof(struct in_addr);
-}
-
 static int sierra_net_parse_lsi(struct usbnet *dev, char *data, int datalen)
 {
 	struct lsi_umts *lsi = (struct lsi_umts *)data;