diff options
author | Sven Van Asbroeck <TheSven73@gmail.com> | 2019-02-11 14:15:54 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2019-02-16 21:39:42 -0800 |
commit | bab4a6cca024dc202b1e893edbe34f58f1d43f3e (patch) | |
tree | 59f04d942adf96534195a5b48db8a6fae3b341f7 /drivers/input/joystick/db9.c | |
parent | 16ab4f43eb953277e915115c1d811d2a518d6bf2 (diff) | |
download | linux-bab4a6cca024dc202b1e893edbe34f58f1d43f3e.tar.gz linux-bab4a6cca024dc202b1e893edbe34f58f1d43f3e.tar.bz2 linux-bab4a6cca024dc202b1e893edbe34f58f1d43f3e.zip |
Input: qt2160 - remove redundant spinlock
Remove a spinlock which prevents schedule_delayed_work() and
mod_delayed_work() from executing concurrently.
This was required back when mod_delayed_work() did not exist,
and had to be implemented with a cancel + schedule. See
commit e7c2f967445d ("workqueue: use mod_delayed_work() instead of
__cancel + queue")
schedule_delayed_work() and mod_delayed_work() can now be used
concurrently. So the spinlock is no longer needed.
Signed-off-by: Sven Van Asbroeck <TheSven73@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/joystick/db9.c')
0 files changed, 0 insertions, 0 deletions