diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2018-05-29 15:03:21 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2018-05-30 09:48:25 +0300 |
commit | d44c2816ac403125277f50994589a963036fb9b3 (patch) | |
tree | 9230743f66f34bac10acff810741e646c05b9d64 /drivers/hid | |
parent | b3a81b6c4fc6730ac49e20d789a93c0faabafc98 (diff) | |
download | linux-d44c2816ac403125277f50994589a963036fb9b3.tar.xz |
HID: i2c-hid: remove i2c_hid_open_mut
Since commit 85ae91133152 ("HID: i2c-hid: remove custom locking from
i2c_hid_open/close") there are no more users of i2c_hid_open_mut.
Remove the unused mutex.
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Jiri Kosina <jikos@kernel.org>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r-- | drivers/hid/i2c-hid/i2c-hid.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/hid/i2c-hid/i2c-hid.c b/drivers/hid/i2c-hid/i2c-hid.c index c5ad918e36e3..4025ffb05a20 100644 --- a/drivers/hid/i2c-hid/i2c-hid.c +++ b/drivers/hid/i2c-hid/i2c-hid.c @@ -130,8 +130,6 @@ static const struct i2c_hid_cmd hid_no_cmd = { .length = 0 }; * static const struct i2c_hid_cmd hid_set_protocol_cmd = { I2C_HID_CMD(0x07) }; */ -static DEFINE_MUTEX(i2c_hid_open_mut); - /* The main device structure */ struct i2c_hid { struct i2c_client *client; /* i2c client */ |