diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2016-01-27 15:42:25 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-12-01 09:46:37 +0100 |
| commit | 074573f86424ab4001f73d1e771d1d426f1762fb (patch) | |
| tree | f8d874eea170ac04afce08efc92afc0e38bbacc9 /include/linux/debugobjects.h | |
| parent | 7396f08f9046a3d97a331e3b46bf899db6490fd3 (diff) | |
Input: xpad - remove unused function
[ Upstream commit a6ed4a18ba6a6f5a01e024b9d221d6439bf6ca4c ]
There are two definitions of xpad_identify_controller(), one is used
when CONFIG_JOYSTICK_XPAD_LEDS is set, but the other one is empty
and never used, and we get a gcc warning about it:
drivers/input/joystick/xpad.c:1210:13: warning: 'xpad_identify_controller' defined but not used [-Wunused-function]
This removes the second definition.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: cae705baa40b ("Input: xpad - re-send LED command on present event")
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
