mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 15:13:55 +08:00
s390/qeth: remove unused code in qdio_establish_cq()
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> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
349d13d5ab
commit
9627923062
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user