[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250304192603.40565-9-gascoar@gmail.com>
Date: Tue, 4 Mar 2025 16:25:43 -0300
From: Gaston Gonzalez <gascoar@...il.com>
To: linux-staging@...ts.linux.dev
Cc: dpenkler@...il.com,
gregkh@...uxfoundation.org,
dan.carpenter@...aro.org,
arnd@...db.de,
niharchaithanya@...il.com,
jiapeng.chong@...ux.alibaba.com,
linux-kernel@...r.kernel.org,
Gaston Gonzalez <gascoar@...il.com>
Subject: [PATCH 4/4] staging: gpib: remove commented-out lines
Remove commented-out code in function write_loop().
Signed-off-by: Gaston Gonzalez <gascoar@...il.com>
---
drivers/staging/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/drivers/staging/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c b/drivers/staging/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c
index f7dd0809b06c..bb22ee2cc5e1 100644
--- a/drivers/staging/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c
+++ b/drivers/staging/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c
@@ -218,18 +218,7 @@ static inline int usec_diff(struct timespec64 *a, struct timespec64 *b)
static int write_loop(void *dev, char *msg, int leng)
{
-// int nchar = 0, val;
-
-// do {
-
return skel_do_write(dev, msg, leng);
-
-// if (val < 1) {
-// return -EIO;
-// }
-// nchar +=val;
-// } while (nchar < leng);
-// return leng;
}
/**
--
2.49.0.rc0
Powered by blists - more mailing lists