Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Gaston Gonzalez and committed by
Greg Kroah-Hartman
97d83d29 f17cd486

-11
-11
drivers/staging/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c
··· 217 217 218 218 static int write_loop(void *dev, char *msg, int leng) 219 219 { 220 - // int nchar = 0, val; 221 - 222 - // do { 223 - 224 220 return skel_do_write(dev, msg, leng); 225 - 226 - // if (val < 1) { 227 - // return -EIO; 228 - // } 229 - // nchar +=val; 230 - // } while (nchar < leng); 231 - // return leng; 232 221 } 233 222 234 223 /**