lkml.org 
[lkml]   [2015]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] mac802154: Delete an unnecessary check before the function call "kfree_skb"
    From
    Date
    Hi Markus,

    > The kfree_skb() 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>
    > ---
    > net/mac802154/rx.c | 3 +--
    > 1 file changed, 1 insertion(+), 2 deletions(-)

    patch has been applied to bluetooth-next tree.

    Regards

    Marcel



    \
     
     \ /
      Last update: 2015-11-15 01:41    [W:4.021 / U:0.080 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site