]> 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)
commit7d3f63134103be9bd826172d49d9242853aef8f9
treeee3908a84feb7696bd2447d2094329bc16c2d344
parentd65b11aded96363312821859b93f626679bb5b4b
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