Removed uneccessary parantheses which were sorrounding two
if-statements.
Signed-off-by: Fabian Baumanis <baumanisf@xxxxxxxxx>
---
Â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) {