Commit 97d83d29 authored by Gaston Gonzalez's avatar Gaston Gonzalez Committed by Greg Kroah-Hartman
Browse files

staging: gpib: remove commented-out lines



Remove commented-out code in function write_loop().

Signed-off-by: default avatarGaston Gonzalez <gascoar@gmail.com>
Link: https://lore.kernel.org/r/20250305193614.39604-9-gascoar@gmail.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f17cd486
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -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;
}

/**