]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
staging: gpib: remove commented-out lines
authorGaston Gonzalez <gascoar@gmail.com>
Wed, 5 Mar 2025 19:32:22 +0000 (16:32 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Mar 2025 14:03:48 +0000 (07:03 -0700)
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>
drivers/staging/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c

index 041600dc443f922ae249d0b51fab6bb8db15404a..282d7387574e9ca9fbbe215f3839bed8f715fec5 100644 (file)
@@ -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;
 }
 
 /**