]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd9e2c16e598ac74e49d98cfdabf5dec441465412
treeee3908a84feb7696bd2447d2094329bc16c2d344
parent379259807cd94bba26fc7cd2e529fee06700f17a
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