summaryrefslogtreecommitdiffstats
path: root/kernel/profile.c
diff options
context:
space:
mode:
authorSteve Glendinning <steve.glendinning@smsc.com>2009-01-11 00:14:27 -0800
committerDavid S. Miller <davem@davemloft.net>2009-01-11 00:14:27 -0800
commit702403af28ef647b090b49bb61abebb45150ce7f (patch)
treea3ec2701f1c953a6102834744a65a068df80b4b0 /kernel/profile.c
parenteb10a781824ca63c4e484c4642a19b3370980792 (diff)
downloadblackbird-op-linux-702403af28ef647b090b49bb61abebb45150ce7f.tar.gz
blackbird-op-linux-702403af28ef647b090b49bb61abebb45150ce7f.zip
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 <steve.glendinning@smsc.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/profile.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud