commit | 02cc097e62d51bf6e5cb4209ca90d9bf68e358b5 | [log] [tgz] |
---|---|---|
author | Peter Wu <peter@lekensteyn.nl> | Thu Dec 11 13:51:17 2014 +0100 |
committer | Jiri Kosina <jkosina@suse.cz> | Thu Dec 11 23:10:00 2014 +0100 |
tree | 6d375fc4b1fa942a10b22f6a3a039fd9f7cf64d2 | |
parent | 552f12eb68440a0328dc9929066f6d0321a75874 [diff] |
HID: logitech-hidpp: do not return the name length We do not make any use of the actual name length get through hidpp_get_device_name(). Original patch by Benjamin Tissoires, this patch also replaces a (now) unnecessary goto by return NULL. Signed-off-by: Peter Wu <peter@lekensteyn.nl> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>