From: Julian Wiedmann <jwi@linux.vnet.ibm.com>
To: David Miller <davem@davemloft.net>
Cc: <netdev@vger.kernel.org>, <linux-s390@vger.kernel.org>,
Martin Schwidefsky <schwidefsky@de.ibm.com>,
Heiko Carstens <heiko.carstens@de.ibm.com>,
Stefan Raspl <raspl@linux.vnet.ibm.com>,
Ursula Braun <ubraun@linux.vnet.ibm.com>,
Julian Wiedmann <jwi@linux.vnet.ibm.com>
Subject: [PATCH net-next 4/9] s390/qeth: remove unused code in qdio_establish_cq()
Date: Mon, 18 Sep 2017 21:18:17 +0200 [thread overview]
Message-ID: <20170918191822.65142-5-jwi@linux.vnet.ibm.com> (raw)
In-Reply-To: <20170918191822.65142-1-jwi@linux.vnet.ibm.com>
Storing the number of input buffers into 'i' has no effect, it is
immediately re-assigned in the next line.
Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Reviewed-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
---
drivers/s390/net/qeth_core_main.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/s390/net/qeth_core_main.c b/drivers/s390/net/qeth_core_main.c
index bae7440abc01..77032801e30b 100644
--- a/drivers/s390/net/qeth_core_main.c
+++ b/drivers/s390/net/qeth_core_main.c
@@ -4923,7 +4923,6 @@ static void qeth_qdio_establish_cq(struct qeth_card *card,
if (card->options.cq == QETH_CQ_ENABLED) {
int offset = QDIO_MAX_BUFFERS_PER_Q *
(card->qdio.no_in_queues - 1);
- i = QDIO_MAX_BUFFERS_PER_Q * (card->qdio.no_in_queues - 1);
for (i = 0; i < QDIO_MAX_BUFFERS_PER_Q; ++i) {
in_sbal_ptrs[offset + i] = (struct qdio_buffer *)
virt_to_phys(card->qdio.c_q->bufs[i].buffer);
--
2.13.5
next prev parent reply other threads:[~2017-09-18 19:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-18 19:18 [PATCH net-next 0/9] s390/qeth: updates 2017-09-18 Julian Wiedmann
2017-09-18 19:18 ` [PATCH net-next 1/9] s390/qeth: add basic VNICC support Julian Wiedmann
2017-09-18 19:18 ` [PATCH net-next 2/9] s390/qeth: add VNICC enable/disable support Julian Wiedmann
2017-09-18 19:18 ` [PATCH net-next 3/9] s390/qeth: add VNICC get/set timeout support Julian Wiedmann
2017-09-18 19:18 ` Julian Wiedmann [this message]
2017-09-18 19:18 ` [PATCH net-next 5/9] s390/qeth: don't take queue lock in send_packet_fast() Julian Wiedmann
2017-09-18 19:18 ` [PATCH net-next 6/9] s390/qeth: simplify L3 sysfs group management Julian Wiedmann
2017-09-18 19:18 ` [PATCH net-next 7/9] s390/qeth: translate SETVLAN/DELVLAN errors Julian Wiedmann
2017-09-18 19:18 ` [PATCH net-next 8/9] s390/qeth: fold VLAN handling into l3_rebuild_skb() Julian Wiedmann
2017-09-18 19:18 ` [PATCH net-next 9/9] s390/qeth: tidy up parameter naming for qeth_do_send_packet() Julian Wiedmann
2017-09-18 21:41 ` [PATCH net-next 0/9] s390/qeth: updates 2017-09-18 David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170918191822.65142-5-jwi@linux.vnet.ibm.com \
--to=jwi@linux.vnet.ibm.com \
--cc=davem@davemloft.net \
--cc=heiko.carstens@de.ibm.com \
--cc=linux-s390@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=raspl@linux.vnet.ibm.com \
--cc=schwidefsky@de.ibm.com \
--cc=ubraun@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).