ionic: simplify the intr_index use in txq_init
authorShannon Nelson <snelson@pensando.io>
Fri, 19 Mar 2021 00:48:05 +0000 (17:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Mar 2021 02:16:10 +0000 (19:16 -0700)
commit2103ed2fab7de8df7ad035d8a3053e1ba3cb76e2
treebf6a4f5925f29ae722f98c83df0ba805711df7e1
parent25cc5a5fac15c8e140c17f7c13c6874736f3e883
ionic: simplify the intr_index use in txq_init

The qcq->intr.index was set when the queue was allocated,
there is no need to reach around to find it.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_lif.c