lkml.org 
[lkml]   [2015]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [1/2] cw1200: Delete an unnecessary check before the function call "release_firmware"
    From
    Date

    > 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


    \
     
     \ /
      Last update: 2015-02-06 08:01    [W:3.091 / U:0.076 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site