]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/hid/usbhid/hiddev.c
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)
commitdd2ed487fdd78b50549b2ca8418875c0d9f4a30e
tree9bbd190e222eb02f7c39845b9e9e96c524fe39cd
parent8c4e708d01424f88afde64a96ffd05146c9978b8
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