From: Rasmus Villemoes Date: Wed, 3 Jun 2015 11:44:03 +0000 (+0200) Subject: net: tulip: rearrange order of searching for substrings X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~142 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3349b0b79e38f740fb794d3989d8bb3dd107fda0;p=pandora-kernel.git net: tulip: rearrange order of searching for substrings Currently, two of the branches are dead code, since an earlier smaller substring would have been found ("TP" in the "TP_NW" case and either of "BNC" and "AUI" in the "BNC_AUI" case). Rearrange the strstr() calls so that the longer strings are searched for first. Signed-off-by: Rasmus Villemoes Signed-off-by: David S. Miller --- Reading git-diff-tree failed