staging: ozwpan: Deletion of unnecessary checks before the function call "oz_free_urb...
authorMarkus Elfring <elfring@users.sourceforge.net>
Tue, 25 Nov 2014 15:51:08 +0000 (16:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2014 22:00:22 +0000 (14:00 -0800)
commit968bf0cf0c18523b491a030bd56fab4c1e1640bb
tree5732be94591f3623ce74cd336505e4f222847255
parentc1e433accdb6b6a10c7be4376a0f6ec4205a51e9
staging: ozwpan: Deletion of unnecessary checks before the function call "oz_free_urb_link"

The oz_free_urb_link() 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ozwpan/ozhcd.c