From: Markus Elfring Date: Mon, 24 Nov 2014 21:32:30 +0000 (-0300) Subject: [media] siano: unnecessary check before rc_unregister_device() X-Git-Tag: omap-for-v3.19/fixes-rc1~133^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b281d830f09a4f58651839030b39571dea1b56d;p=pandora-kernel.git [media] siano: unnecessary check before rc_unregister_device() The rc_unregister_device() 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: Mauro Carvalho Chehab --- Reading git-diff-tree failed