summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic/qlge
diff options
context:
space:
mode:
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>2016-07-31 12:19:28 +0200
committerDavid S. Miller <davem@davemloft.net>2016-08-01 22:32:52 +0200
commit4fb482f73703d69ce23f9ddfa1c55acdb3cf49a6 (patch)
treecd4f178373c066f9fda73d597a4bd8e5615f37f8 /drivers/net/ethernet/qlogic/qlge
parentnet: s2io: simplify logical constraint (diff)
downloadlinux-4fb482f73703d69ce23f9ddfa1c55acdb3cf49a6.tar.xz
linux-4fb482f73703d69ce23f9ddfa1c55acdb3cf49a6.zip
net: qlge: remove superfluous statement
Variable length is not used after the deleted line. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qlge')
-rw-r--r--drivers/net/ethernet/qlogic/qlge/qlge_main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qlge/qlge_main.c b/drivers/net/ethernet/qlogic/qlge/qlge_main.c
index fd5d1c93b55b..fd4a8e473f11 100644
--- a/drivers/net/ethernet/qlogic/qlge/qlge_main.c
+++ b/drivers/net/ethernet/qlogic/qlge/qlge_main.c
@@ -1892,7 +1892,6 @@ static struct sk_buff *ql_build_rx_skb(struct ql_adapter *qdev,
skb->len += length;
skb->data_len += length;
skb->truesize += length;
- length -= length;
ql_update_mac_hdr_len(qdev, ib_mac_rsp,
lbq_desc->p.pg_chunk.va,
&hlen);