usb-misc: sisusbvga: Remove null test before calls to kfree()
authorPeter Senna Tschudin <peter.senna@gmail.com>
Fri, 15 Jan 2016 17:41:32 +0000 (18:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Jan 2016 05:04:54 +0000 (21:04 -0800)
commit8a102fd6c99a26a0aa74e3d4bed4092b3c791361
treea762786853420a97987e8f5bfbdba364a10e8317
parent662bfe7b537f0c199024b252d451727a76449233
usb-misc: sisusbvga: Remove null test before calls to kfree()

This patch removes null test before calls to kfree() as kfree() can
handle null pointers safely.

Signed-off-by: Peter Senna Tschudin <peter.senna@collabora.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/sisusbvga/sisusb.c