mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
staging: media: lirc: lirc_imon.c: remove extra parentheses around function arguments
Removes extra parentheses around function arguments. Issue detected and resolved using the following coccinelle script: @@ expression e; identifier f; @@ f(..., & -( e -) ,...) Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
975da35f0f
commit
bb3a4dc3af
1 changed files with 2 additions and 2 deletions
|
|
@ -337,11 +337,11 @@ static int send_packet(struct imon_context *context)
|
|||
context->tx_urb->actual_length = 0;
|
||||
|
||||
init_completion(&context->tx.finished);
|
||||
atomic_set(&(context->tx.busy), 1);
|
||||
atomic_set(&context->tx.busy, 1);
|
||||
|
||||
retval = usb_submit_urb(context->tx_urb, GFP_KERNEL);
|
||||
if (retval) {
|
||||
atomic_set(&(context->tx.busy), 0);
|
||||
atomic_set(&context->tx.busy, 0);
|
||||
dev_err(&context->usbdev->dev, "error submitting urb(%d)\n",
|
||||
retval);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue