Messages in this thread | | | Subject | Re: [1/2] cw1200: Delete an unnecessary check before the function call "release_firmware" | From | Kalle Valo <> | Date | Fri, 6 Feb 2015 06:49:01 +0000 (UTC) |
| |
> From: Markus Elfring <elfring@users.sourceforge.net> > Date: Wed, 4 Feb 2015 16:32:15 +0100 > > The release_firmware() 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 <elfring@users.sourceforge.net>
Thanks, 2 patches applied to wireless-drivers-next.git:
df970d39b90e cw1200: Delete an unnecessary check before the function call "release_firmware" ee4ddad82356 cw1200: Less function calls in cw1200_load_firmware_cw1200() after error detection
Kalle Valo
| |