Tag: 968bf0cf0c18523b491a030bd56fab4c1e1640bb

staging: ozwpan: Deletion of unnecessary checks before the function call “oz_free_urb_link”

Author: Markus Elfring <elfring@users.sourceforge.net> 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 Signed-off-by: Greg Kroah-Hartman — drivers/staging/ozwpan/ozhcd.c | 6 ++—- 1 file changed, 2 insertions(+), 4 deletions(-)   diff …

Continue reading