summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaston Gonzalez <gascoar@gmail.com>2025-03-05 16:32:22 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-03-20 07:03:48 -0700
commit97d83d292ba10313aec366141d24c24eeaa3cb7a (patch)
treee7b51a6752f1fab0650951f4213f1d11ca13c177
parentf17cd486391cc24dcc3d4d63699721c6a7937b84 (diff)
staging: gpib: remove commented-out lines
Remove commented-out code in function write_loop(). Signed-off-by: Gaston Gonzalez <gascoar@gmail.com> Link: https://lore.kernel.org/r/20250305193614.39604-9-gascoar@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c11
1 files changed, 0 insertions, 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 041600dc443f..282d7387574e 100644
--- a/drivers/staging/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c
+++ b/drivers/staging/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c
@@ -217,18 +217,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;
}
/**