]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfbad7a6201ee668e11aed77b01928443445d7f0b
treebf6a4f5925f29ae722f98c83df0ba805711df7e1
parentdd5f368dc882d6f453b5da7b12330e09a159a0c3
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