summaryrefslogtreecommitdiff
path: root/lib/lz4
diff options
context:
space:
mode:
authoryu kuai <yukuai3@huawei.com>2019-09-29 21:42:49 +0800
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-10-15 10:55:10 +0300
commite3008bf46ce0baf617cfd1b68d35e433dc603e43 (patch)
tree988e67aca0b888f99abb48e626f5e4a4ccd7c924 /lib/lz4
parentd740795d9273dafb02ed809f3b68d62388bc08d9 (diff)
platform/x86: classmate-laptop: remove unused variable
Fixes gcc '-Wunused-but-set-variable' warning: drivers/platform/x86/classmate-laptop.c: In function cmpc_accel_remove_v4: drivers/platform/x86/classmate-laptop.c:424:21: warning: variable accel set but not used [-Wunused-but-set-variable] drivers/platform/x86/classmate-laptop.c: In function cmpc_accel_remove: drivers/platform/x86/classmate-laptop.c:660:21: warning: variable accel set but not used [-Wunused-but-set-variable] In function cmpc_accel_remove_v4 and cmpc_accel_remove, variable accel is set but not used, so it can be removed. In that case, variable inputdev is set but not used and can be removed. Fixes: 7125587df4e8 ("classmate-laptop: Add support for Classmate V4 accelerometer.") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: yu kuai <yukuai3@huawei.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'lib/lz4')
0 files changed, 0 insertions, 0 deletions