ipmi: Delete an unnecessary check before the function call "cleanup_one_si"
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 27 Jun 2015 16:12:14 +0000 (18:12 +0200)
committerCorey Minyard <cminyard@mvista.com>
Thu, 3 Sep 2015 20:02:25 +0000 (15:02 -0500)
commita7930899ca0082a33350b253c6ed34f67255f98e
treeaf9694080651d95823953b29d4a14a32ff65f5dd
parentfedb25ea903d3520b6cff00c41740a892cf6bc0e
ipmi: Delete an unnecessary check before the function call "cleanup_one_si"

The cleanup_one_si() 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: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_si_intf.c