diff mbox series

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

Message ID 20200505085124.53000-1-yuehaibing@huawei.com
State New
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(-)
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;