Skip to content
Commit 01992152 authored by Juhee Kang's avatar Juhee Kang Committed by David S. Miller
Browse files

mlxsw: spectrum: use netif_is_macsec() instead of open code



Open code which is dev->priv_flags & IFF_MACSEC has already defined as
netif_is_macsec(). So use netif_is_macsec() instead of open code.
This patch doesn't change logic.

Signed-off-by: default avatarJuhee Kang <claudiajkang@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c60882a4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment