smsc95xx: eliminate duplicate warnings on io failure
authorSteve Glendinning <steve.glendinning@shawell.net>
Thu, 3 Jan 2013 03:00:15 +0000 (03:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Jan 2013 21:51:07 +0000 (13:51 -0800)
commite360a8b4eddc8bc6d25f98628fffc803b6ea7f28
treeee3908a84feb7696bd2447d2094329bc16c2d344
parent912df2628bd1367d25d04860430f9179fbf144d2
smsc95xx: eliminate duplicate warnings on io failure

The register read/write functions already log a warning if
an access fails, so this patch removes the additional warnings
logged by callers that don't add any more information.

This patch makes the resulting driver smaller by not containing
as many warning strings.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Steve Glendinning <steve.glendinning@shawell.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/smsc95xx.c