From: Markus Elfring Date: Fri, 21 Nov 2014 15:33:18 +0000 (+0100) Subject: USB-IP: Deletion of unnecessary checks before the function call "usb_put_dev" X-Git-Tag: omap-for-v3.19/fixes-rc1~87^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03f3df817dd3bf988c6d56e10e99b5b4553f5044;p=pandora-kernel.git USB-IP: Deletion of unnecessary checks before the function call "usb_put_dev" The usb_put_dev() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Acked-by: Valentina Manea Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed