HID: hid-sensor-custom: Remove unused variable 'ret'
authorLee Jones <lee.jones@linaro.org>
Fri, 26 Mar 2021 14:34:53 +0000 (14:34 +0000)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Wed, 7 Apr 2021 16:46:20 +0000 (18:46 +0200)
commitdbf104fdd42e49310851fa258ce0493e69dd2221
treec5c2571f242ebba9470a006ca356b0f412791bc0
parent5abb54458242659552046e84ccd889577e2fd971
HID: hid-sensor-custom: Remove unused variable 'ret'

Fixes the following W=1 kernel build warning(s):

 drivers/hid/hid-sensor-custom.c: In function ‘store_value’:
 drivers/hid/hid-sensor-custom.c:400:7: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]

Cc: Jiri Kosina <jikos@kernel.org>
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Cc: linux-input@vger.kernel.org
Cc: linux-iio@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
drivers/hid/hid-sensor-custom.c