ionic: Pass local netdev instead of referencing struct
authorBrett Creeley <brett.creeley@amd.com>
Thu, 29 Feb 2024 19:39:30 +0000 (11:39 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Mar 2024 09:38:13 +0000 (09:38 +0000)
commit1937b7ab6bd6bd4cee631fa6ea9142bb4dabc898
treedfb96fa83e7c9b0d2438a9830db3472480c62578
parent138506ab249b7ac7856cb7a5a536a4b61a7a4ae1
ionic: Pass local netdev instead of referencing struct

Instead of using q->lif->netdev, just pass the netdev when it's
locally defined.

Signed-off-by: Brett Creeley <brett.creeley@amd.com>
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_txrx.c