diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2015-03-23 18:01:37 (GMT) |
---|---|---|
committer | Darren Hart <dvhart@linux.intel.com> | 2015-03-25 17:25:09 (GMT) |
commit | f62a4ffd43c8739aa4b0358710ace0a4e91d2071 (patch) | |
tree | c2993332d7115a3c7078387dd6a4b5aec442416f /sound/i2c | |
parent | 4eebd5a4e72697aac25a8a57d3f888a9d5f80370 (diff) | |
download | linux-f62a4ffd43c8739aa4b0358710ace0a4e91d2071.tar.xz |
x86/wmi: delete unused wmi_data_lock mutex causing gcc warning
In commit bff431e49ff531a343fbb2b4426e313000844f32 ("ACPI: WMI: Add
ACPI-WMI mapping driver") this mutex was added, but the rest of the
final commit never actually made use of it, resulting in:
In file included from include/linux/mutex.h:29:0,
from include/linux/kernfs.h:13,
from include/linux/sysfs.h:15,
from include/linux/kobject.h:21,
from include/linux/device.h:17,
from drivers/platform/x86/wmi.c:35:
drivers/platform/x86/wmi.c:48:21: warning: ‘wmi_data_lock’ defined but not used [-Wunused-variable]
static DEFINE_MUTEX(wmi_data_lock);
^
A git grep shows no other instances/references to the wmi_data_lock.
Delete it, assuming that the mutex addition was just a leftover from
an earlier work in progress version of the change, since the original
dates from 2008.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'sound/i2c')
0 files changed, 0 insertions, 0 deletions