net: ena: Remove redundant assignment
There is no point in initializing an ndo to NULL, therefore the assignment is redundant and can be removed. Signed-off-by: Kamal Heib <kheib@redhat.com> Reviewed-by: Brett Creeley <brett.creeley@amd.com> Acked-by: Arthur Kiyanovski <akiyano@amazon.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
997814491c
commit
723615a14b
@ -2885,7 +2885,6 @@ static const struct net_device_ops ena_netdev_ops = {
|
||||
.ndo_get_stats64 = ena_get_stats64,
|
||||
.ndo_tx_timeout = ena_tx_timeout,
|
||||
.ndo_change_mtu = ena_change_mtu,
|
||||
.ndo_set_mac_address = NULL,
|
||||
.ndo_validate_addr = eth_validate_addr,
|
||||
.ndo_bpf = ena_xdp,
|
||||
.ndo_xdp_xmit = ena_xdp_xmit,
|
||||
|
Loading…
x
Reference in New Issue
Block a user