commit | 37b8e1ca0fd7adce1c75b5d95e5515bd2dc234dd | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Tue Nov 03 18:18:37 2015 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Nov 03 13:30:47 2015 -0500 |
tree | 6a62af36f0f69af03a61a82c6e0f26bd87bc8abc | |
parent | b3047a77cba193658ebf534ee4abab9cb5446842 [diff] |
irda: Delete an unnecessary check before the function call "irlmp_unregister_service" 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> Signed-off-by: David S. Miller <davem@davemloft.net>