[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1469960368-1616-1-git-send-email-xypron.glpk@gmx.de>
Date: Sun, 31 Jul 2016 12:19:28 +0200
From: Heinrich Schuchardt <xypron.glpk@....de>
To: Harish Patil <harish.patil@...gic.com>,
Sudarsana Kalluru <sudarsana.kalluru@...gic.com>,
Dept-GELinuxNICDev@...gic.com, linux-driver@...gic.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Heinrich Schuchardt <xypron.glpk@....de>
Subject: [PATCH 1/1] net: qlge: remove superfluous statement
Variable length is not used after the deleted line.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@....de>
---
drivers/net/ethernet/qlogic/qlge/qlge_main.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ethernet/qlogic/qlge/qlge_main.c b/drivers/net/ethernet/qlogic/qlge/qlge_main.c
index fd5d1c9..fd4a8e4 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);
--
2.8.1
Powered by blists - more mailing lists