sfc: Remove unnecessary use of atomic_t
We can set, get and compare-and-exchange without using atomic_t. Change efx_mcdi_iface::state to the enum type we really wanted it to be. Suggested-by: NDavid Miller <davem@davemloft.net> Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
Showing
想要评论请 注册 或 登录