ionic: simplify use of completion types
authorShannon Nelson <snelson@pensando.io>
Wed, 10 Mar 2021 19:26:31 +0000 (11:26 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Mar 2021 23:34:28 +0000 (15:34 -0800)
commita25edab93b2877f3e20673464286a589678b87c2
tree93a79d78591ce876441f7d3caa516900afe90e8c
parent55eda6bbe0c87c577376472f8bf381ef1c023303
ionic: simplify use of completion types

Make better use of our struct types and type checking by passing
the actual Rx or Tx completion type rather than a generic void
pointer type.

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