aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid')
-rw-r--r--drivers/hid/hid-input.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c
index ceade58b8027..48785db10e87 100644
--- a/drivers/hid/hid-input.c
+++ b/drivers/hid/hid-input.c
@@ -917,14 +917,6 @@ void hidinput_hid_event(struct hid_device *hid, struct hid_field *field, struct
917 917
918 input = field->hidinput->input; 918 input = field->hidinput->input;
919 919
920#ifdef CONFIG_HID_BATTERY_STRENGTH
921 if (usage->hid == HID_DC_BATTERYSTRENGTH) {
922 hid->battery_val = value;
923 hid_dbg(hid, "battery value is %d (range %d-%d)\n",
924 value, hid->battery_min, hid->battery_max);
925 return;
926 }
927#endif
928 if (!usage->type) 920 if (!usage->type)
929 return; 921 return;
930 922