summaryrefslogtreecommitdiffstats
path: root/drivers/net/wimax
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-08-27 12:47:39 +0100
committerDavid S. Miller <davem@davemloft.net>2019-08-28 14:49:37 -0700
commita3a90244c471854bbe79884fd5a48b84953faa75 (patch)
tree8b9e777a8a2f4544f5b177fa2a3870e0069e22be /drivers/net/wimax
parent14105c191e09b698782026827dbac966cbd30446 (diff)
downloadlinux-a3a90244c471854bbe79884fd5a48b84953faa75.tar.bz2
wimax/i2400m: remove redundant assignment to variable result
Variable result is being assigned a value that is never read and result is being re-assigned a little later on. The assignment is redundant and hence can be removed. Addresses-Coverity: ("Ununsed value") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wimax')
-rw-r--r--drivers/net/wimax/i2400m/rx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wimax/i2400m/rx.c b/drivers/net/wimax/i2400m/rx.c
index d28b96d06919..c9fb619a9e01 100644
--- a/drivers/net/wimax/i2400m/rx.c
+++ b/drivers/net/wimax/i2400m/rx.c
@@ -1253,7 +1253,6 @@ int i2400m_rx(struct i2400m *i2400m, struct sk_buff *skb)
skb_len = skb->len;
d_fnstart(4, dev, "(i2400m %p skb %p [size %u])\n",
i2400m, skb, skb_len);
- result = -EIO;
msg_hdr = (void *) skb->data;
result = i2400m_rx_msg_hdr_check(i2400m, msg_hdr, skb_len);
if (result < 0)