lkml.org 
[lkml]   [2015]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH] irda: Delete an unnecessary check before the function call "irlmp_unregister_service"
    From
    From: SF Markus Elfring <elfring@users.sourceforge.net>
    Date: Tue, 3 Nov 2015 18:30:58 +0100

    > From: Markus Elfring <elfring@users.sourceforge.net>
    > Date: Tue, 3 Nov 2015 18:18:37 +0100
    >
    > The irlmp_unregister_service() 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>

    Applied.


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