summaryrefslogtreecommitdiff
path: root/include/linux/errqueue.h
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2016-09-16 14:18:22 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-10-24 22:40:09 +0300
commit9b26336356603d457a53255adc7a4fdad31c5ede (patch)
treebd4ab93b4992999038b241c48520ad66e87ac459 /include/linux/errqueue.h
parent7c073fffb763dceb38737c32408750b3809773f9 (diff)
downloadlinux-9b26336356603d457a53255adc7a4fdad31c5ede.tar.xz
[media] lirc_imon: use complete() instead complete_all()
There is only one waiter for the completion, therefore there is no need to use complete_all(). Let's make that clear by using complete() instead of complete_all(). While we are at it, we do a small optimization with the reinitialization of the completion before we use it. The usage pattern of the completion is: waiter context waker context send_packet() reinit_completion() usb_sumbit_urb() wait_for_completion_interruptible() usb_tx_callback() complete() imon_disconnect() complete() Signed-off-by: Daniel Wagner <daniel.wagner@bmw-carit.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions