[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230605131306.427682-1-neelchakrabortykernelwork@gmail.com>
Date: Mon, 5 Jun 2023 18:43:06 +0530
From: Neel Chakraborty <neelchakrabortykernelwork@...il.com>
To: abbotti@....co.uk
Cc: hsweeten@...ionengravers.com, linux-kernel@...r.kernel.org,
Neel Chakraborty <neelchakrabortykernelwork@...il.com>
Subject: [PATCH] drivers: comedi: drivers: s526: fixed a commented out if else coding style issue
Fixed a coding style issue.
Signed-off-by: Neel Chakraborty <neelchakrabortykernelwork@...il.com>
---
drivers/comedi/drivers/s526.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/comedi/drivers/s526.c b/drivers/comedi/drivers/s526.c
index 9245c679a3c4..12aa40920575 100644
--- a/drivers/comedi/drivers/s526.c
+++ b/drivers/comedi/drivers/s526.c
@@ -229,7 +229,6 @@ static int s526_gpct_insn_config(struct comedi_device *dev,
*/
devpriv->gpct_config[chan] = data[0];
-#if 1
/* Set Counter Mode Register */
val = data[1] & 0xffff;
outw(val, dev->iobase + S526_GPCT_MODE_REG(chan));
@@ -246,7 +245,6 @@ static int s526_gpct_insn_config(struct comedi_device *dev,
* dev->iobase + S526_GPCT_CTRL_REG(chan));
*/
}
-#else
val = S526_GPCT_MODE_CTDIR_CTRL_QUAD;
/* data[1] contains GPCT_X1, GPCT_X2 or GPCT_X4 */
--
2.40.1
Powered by blists - more mailing lists