commit | b9c701edc7ff6ddd522497b0194b0bc3ec1b51a9 | [log] [tgz] |
---|---|---|
author | Stefan Sørensen <stefan.sorensen@spectralink.com> | Fri Jun 27 11:59:09 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 07 16:57:09 2014 -0700 |
tree | eb4ba9bffe93c7b1ef94a9ad357bb180a4be4acd | |
parent | 239960d66425785affb92d745e3b29e3e9b51745 [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>