From: Steve Glendinning Date: Sun, 11 Jan 2009 08:14:27 +0000 (-0800) Subject: smsc911x: fix smsc911x_reg_read compiler warning X-Git-Tag: v2.6.29-rc2~105^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=702403af28ef647b090b49bb61abebb45150ce7f;p=pandora-kernel.git smsc911x: fix smsc911x_reg_read compiler warning if this code path is ever hit, the platform_data struct isn't properly configured with a bus width flag so the device won't work (hence the BUG()). This patch adds a dummy return statement to eliminate this compiler warning: drivers/net/smsc911x.c: In function 'smsc911x_reg_read': drivers/net/smsc911x.c:148: warning: control reaches end of non-void function Signed-off-by: Steve Glendinning Signed-off-by: David S. Miller --- Reading git-diff-tree failed