From 02cc097e62d51bf6e5cb4209ca90d9bf68e358b5 Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Thu, 11 Dec 2014 13:51:17 +0100 Subject: [PATCH] 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-format-patch failed