summaryrefslogtreecommitdiff
path: root/drivers/dax
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-10 14:13:54 +0300
commit18380f52dbac230032a16545e67a6d90b548cf18 (patch)
tree186b13d3a8719927b62608500e3ac5b752803853 /drivers/dax
parentda0c9ea146cbe92b832f1b0f694840ea8eb33cce (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 'drivers/dax')
0 files changed, 0 insertions, 0 deletions