summaryrefslogtreecommitdiff
path: root/kernel/locking/rtmutex_common.h
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-07 16:57:09 -0700
commitb9c701edc7ff6ddd522497b0194b0bc3ec1b51a9 (patch)
treeeb4ba9bffe93c7b1ef94a9ad357bb180a4be4acd /kernel/locking/rtmutex_common.h
parent239960d66425785affb92d745e3b29e3e9b51745 (diff)
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 'kernel/locking/rtmutex_common.h')
0 files changed, 0 insertions, 0 deletions