HID: zydacron: kfree() NULL pointer cleanup
authorBojan Prtvar <prtvar.b@gmail.com>
Thu, 4 Aug 2011 20:43:46 +0000 (22:43 +0200)
committerJiri Kosina <jkosina@suse.cz>
Thu, 4 Aug 2011 21:51:29 +0000 (23:51 +0200)
commit6371fe54b500f1f31033e0035a061fa320171930
tree970ada32140cc10b5c9e4b26cdef62d6b0b13960
parentf5fc87905ea075a0b14878086fd4fe38be128844
HID: zydacron: kfree() NULL pointer cleanup

Checking for NULL pointers before kfree() is redundant.

Signed-off-by: Bojan Prtvar <prtvar.b@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-zydacron.c