From: Peter Wu Date: Thu, 11 Dec 2014 12:51:17 +0000 (+0100) Subject: HID: logitech-hidpp: do not return the name length X-Git-Tag: omap-for-v3.20/drop-legacy-3517~109^2^5~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02cc097e62d51bf6e5cb4209ca90d9bf68e358b5;p=pandora-kernel.git 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 Signed-off-by: Benjamin Tissoires Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed