From: Steve Glendinning Date: Fri, 30 Nov 2012 04:52:43 +0000 (+0000) Subject: smsc75xx: don't call usbnet_resume if usbnet_suspend fails X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~156 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2305c54ffc389f1e73f2b1122a4c75bb0e8e6601;p=pandora-kernel.git smsc75xx: don't call usbnet_resume if usbnet_suspend fails If usbnet_suspend returns an error we don't want to call usbnet_resume to clean up, but instead just return the error. If usbnet_suspend *does* succeed, and we have a problem further on, the desired behaviour is still to call usbnet_resume to clean up before returning. Signed-off-by: Steve Glendinning Signed-off-by: David S. Miller --- Reading git-diff-tree failed