From: Jeremy Linton Date: Wed, 19 Aug 2015 16:46:43 +0000 (-0500) Subject: smsc911x: Remove dev==NULL check. X-Git-Tag: omap-for-v4.3/fixes-rc1~110^2~122 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d14a63400dd3e353acb6547831fe465f85864b1;p=pandora-kernel.git smsc911x: Remove dev==NULL check. The dev==NULL check in smsc911x_probe_config is useless and isn't providing any additional protection. If a fwnode doesn't exist then an appropriate error should be returned by device_get_phy_mode() covering the original case of a missing of/fwnode. Signed-off-by: Jeremy Linton Signed-off-by: David S. Miller --- Reading git-diff-tree failed