]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/sonic: Remove explicit memory barriers
authorFinn Thain <fthain@telegraphics.com.au>
Sat, 15 Feb 2020 21:03:32 +0000 (08:03 +1100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Feb 2020 03:48:22 +0000 (19:48 -0800)
commit13cfff1a902c647fc9d5ef9c090106097d7b7f79
treee3152df7df77808bab088b4b43bb0bad8d37c832
parentd35bf9bc7d72a5e3055c808e5d5530a81a0c9a38
net/sonic: Remove explicit memory barriers

The explicit memory barriers are redundant now that proper locking and
MMIO accessors have been employed.

Tested-by: Stan Johnson <userm57@yahoo.com>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/natsemi/sonic.c