From: xypron.glpk@gmx.de Date: Sun, 31 Jul 2016 10:19:28 +0000 (+0200) Subject: net: qlge: remove superfluous statement X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4fb482f73703d69ce23f9ddfa1c55acdb3cf49a6;p=linux-beck.git net: qlge: remove superfluous statement Variable length is not used after the deleted line. Signed-off-by: Heinrich Schuchardt Signed-off-by: David S. Miller --- 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);