Skip to content

Commit 723615a

Browse files
Kamalheibdavem330
authored andcommitted
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 <[email protected]> Reviewed-by: Brett Creeley <[email protected]> Acked-by: Arthur Kiyanovski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 9978144 commit 723615a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/net/ethernet/amazon/ena/ena_netdev.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2885,7 +2885,6 @@ static const struct net_device_ops ena_netdev_ops = {
28852885
.ndo_get_stats64 = ena_get_stats64,
28862886
.ndo_tx_timeout = ena_tx_timeout,
28872887
.ndo_change_mtu = ena_change_mtu,
2888-
.ndo_set_mac_address = NULL,
28892888
.ndo_validate_addr = eth_validate_addr,
28902889
.ndo_bpf = ena_xdp,
28912890
.ndo_xdp_xmit = ena_xdp_xmit,

0 commit comments

Comments
 (0)