diff options
author | YueHaibing <yuehaibing@huawei.com> | 2020-05-05 10:51:24 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-05 21:07:43 +0200 |
commit | 5b545cbc0a57fc93617785ed5c165f5059e36498 (patch) | |
tree | 5dcffb6fefeea9ca8f480f6040cf4edcdbf50bbb /drivers/net/usb | |
parent | bnx2x: Remove unused inline function bnx2x_vf_vlan_credit (diff) | |
download | linux-5b545cbc0a57fc93617785ed5c165f5059e36498.tar.xz linux-5b545cbc0a57fc93617785ed5c165f5059e36498.zip |
net: sierra_net: Remove unused inline function
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/usb')
-rw-r--r-- | drivers/net/usb/sierra_net.c | 5 |
1 files changed, 0 insertions, 5 deletions
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; |