]> git.baikalelectronics.ru Git - kernel.git/commit
HID: 'name' and 'phys' in 'struct hid_device' can never be NULL
authorDaniel Mack <zonque@gmail.com>
Sun, 15 May 2011 16:07:42 +0000 (18:07 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 18 May 2011 11:23:31 +0000 (13:23 +0200)
commit17f40259895837d53994e756be8a99e827e8eb48
tree9bbd190e222eb02f7c39845b9e9e96c524fe39cd
parent25fd1e9e43e10f750e151ce5501152102ba7bd5c
HID: 'name' and 'phys' in 'struct hid_device' can never be NULL

As they are static members of fix size, there is no need to NULL-check them.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Cc: Dmitry Torokhov <dtor@mail.ru>
Cc: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hidraw.c
drivers/hid/usbhid/hiddev.c