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>
This commit is contained in:
Gaston Gonzalez
2025-03-05 16:32:22 -03:00
committed by Greg Kroah-Hartman
parent f17cd48639
commit 97d83d292b

View 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;
}
/**