From: Markus Elfring Date: Fri, 21 Nov 2014 13:51:43 +0000 (+0100) Subject: usb: gadget: function: delete an unnecessary check before rndis_add_hdr() X-Git-Tag: omap-for-v3.20/drop-legacy-3517~84^2~32^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b0f000b2fdc18662e9070765a0f63c93ea0ef31;p=pandora-kernel.git usb: gadget: function: delete an unnecessary check before rndis_add_hdr() The rndis_add_hdr() 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: Felipe Balbi --- Reading git-diff-tree failed