diff options
author | Kamal Heib <kheib@redhat.com> | 2024-02-13 04:17:18 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-02-14 11:57:25 +0100 |
commit | 723615a14b870ab48d92dc39483043022ef05e12 (patch) | |
tree | b37b98afd169f6ac9b423f5b0fe1d720a74cd65c /drivers/net/ethernet/amazon | |
parent | Octeontx2-af: Fetch MAC channel info from firmware (diff) | |
download | linux-723615a14b870ab48d92dc39483043022ef05e12.tar.xz linux-723615a14b870ab48d92dc39483043022ef05e12.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/amazon')
-rw-r--r-- | drivers/net/ethernet/amazon/ena/ena_netdev.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/amazon/ena/ena_netdev.c b/drivers/net/ethernet/amazon/ena/ena_netdev.c index 03be2c008c4d..a77c380c9202 100644 --- a/drivers/net/ethernet/amazon/ena/ena_netdev.c +++ b/drivers/net/ethernet/amazon/ena/ena_netdev.c @@ -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, |