diff options
author | Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> | 2015-03-10 18:54:51 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-15 18:41:11 +0100 |
commit | bb3a4dc3af68b92ad5d5cc0020268daae554db93 (patch) | |
tree | ad099d2423bbf255f6575ddf51f4bbfb1bd776bc /drivers/staging/media | |
parent | 975da35f0f6e33d9a86e5d3ee3c89cb5942d872a (diff) | |
download | op-kernel-dev-bb3a4dc3af68b92ad5d5cc0020268daae554db93.zip op-kernel-dev-bb3a4dc3af68b92ad5d5cc0020268daae554db93.tar.gz |
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>
Diffstat (limited to 'drivers/staging/media')
-rw-r--r-- | drivers/staging/media/lirc/lirc_imon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/media/lirc/lirc_imon.c b/drivers/staging/media/lirc/lirc_imon.c index 2e883e9..335b98a 100644 --- a/drivers/staging/media/lirc/lirc_imon.c +++ b/drivers/staging/media/lirc/lirc_imon.c @@ -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 { |