From: Stefan Sørensen Date: Fri, 27 Jun 2014 09:59:09 +0000 (+0200) Subject: net: Simplify ptp class checks X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~231^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9c701edc7ff6ddd522497b0194b0bc3ec1b51a9;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed