[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20dcf3e7-7621-a6d1-d50a-0c52e6dcdae3@gmail.com>
Date: Sat, 18 Nov 2017 18:46:38 +0100
From: Fabian Baumanis <baumanisf@...il.com>
To: gregkh@...uxfoundation.org
Cc: abbotti@....co.uk, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org, hsweeten@...ionengravers.com,
larturus@...oo.com
Subject: [PATCH] Staging: comedi: adl_pci9118.c : fixed code style issue
Removed uneccessary parantheses which were sorrounding two
if-statements.
Signed-off-by: Fabian Baumanis <baumanisf@...il.com>
---
drivers/staging/comedi/drivers/adl_pci9118.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/comedi/drivers/adl_pci9118.c b/drivers/staging/comedi/drivers/adl_pci9118.c
index 1cc9b7e..c77b994 100644
--- a/drivers/staging/comedi/drivers/adl_pci9118.c
+++ b/drivers/staging/comedi/drivers/adl_pci9118.c
@@ -946,8 +946,7 @@ static int pci9118_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
devpriv->ai_add_back = 0;
if (devpriv->master) {
devpriv->usedma = 1;
- if ((cmd->flags & CMDF_WAKE_EOS) &&
- (cmd->scan_end_arg == 1)) {
+ if (cmd->flags & CMDF_WAKE_EOS && cmd->scan_end_arg == 1) {
if (cmd->convert_src == TRIG_NOW)
devpriv->ai_add_back = 1;
if (cmd->convert_src == TRIG_TIMER) {
--
2.7.4
Powered by blists - more mailing lists