Skip to content
Commit b9c701ed authored by Stefan Sørensen's avatar Stefan Sørensen Committed by David S. Miller
Browse files

net: Simplify ptp class checks



Replace two switch statements enumerating all valid ptp classes with an if
statement matching for not PTP_CLASS_NONE.

Signed-off-by: default avatarStefan Sørensen <stefan.sorensen@spectralink.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 239960d6
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