From: Markus Elfring Date: Fri, 21 Nov 2014 14:50:44 +0000 (+0100) Subject: USB-SIS: Deletion of an unnecessary check before the function call "usb_put_dev" X-Git-Tag: omap-for-v3.20/drop-legacy-3517~84^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb2d43e0919ad89077dc756167c2bcc3e4cc97ab;p=pandora-kernel.git USB-SIS: Deletion of an unnecessary check 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed