summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorStefan Sørensen <stefan.sorensen@spectralink.com>2014-06-27 11:59:09 +0200
committerDavid S. Miller <davem@davemloft.net>2014-07-08 01:57:09 +0200
commitb9c701edc7ff6ddd522497b0194b0bc3ec1b51a9 (patch)
treeeb4ba9bffe93c7b1ef94a9ad357bb180a4be4acd /drivers
parentMerge branch 'sctp' (diff)
downloadlinux-b9c701edc7ff6ddd522497b0194b0bc3ec1b51a9.tar.xz
linux-b9c701edc7ff6ddd522497b0194b0bc3ec1b51a9.zip
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: Stefan Sørensen <stefan.sorensen@spectralink.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions