diff options
author | Hans de Goede <hdegoede@redhat.com> | 2019-04-20 13:22:01 +0200 |
---|---|---|
committer | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2019-04-23 18:02:01 +0200 |
commit | e316aa6e545f0bae82776317bf08ced79a68047d (patch) | |
tree | df7b1041d8f87c7afd2b6c0cc6ea9629d27b2482 /drivers/hid/hid-roccat-kone.c | |
parent | HID: logitech-dj: pick a better name for non-unifying receivers (diff) | |
download | linux-e316aa6e545f0bae82776317bf08ced79a68047d.tar.xz linux-e316aa6e545f0bae82776317bf08ced79a68047d.zip |
HID: logitech-dj: remove false-positive error on double queueing of delayed-work
The various functions queueing work-items do not check there already is a
work-item queued before calling schedule_work(), as such they may race
with each-other and with the re-queuing done by the delayedwork_callback
itself.
This is fine as the delayedwork_callback simply is a nop if scheduled once
too much. I've actually seen the false-positive hid_err for this trigger
in practice, so lets remove it.
While at it also remove the somewhat overzealous debugging around the
schedule_work() calls.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Diffstat (limited to 'drivers/hid/hid-roccat-kone.c')
0 files changed, 0 insertions, 0 deletions