Skip to content

Commit 97d83d2

Browse files
gascoargregkh
authored andcommitted
staging: gpib: remove commented-out lines
Remove commented-out code in function write_loop(). Signed-off-by: Gaston Gonzalez <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent f17cd48 commit 97d83d2

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

drivers/staging/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -217,18 +217,7 @@ static inline int usec_diff(struct timespec64 *a, struct timespec64 *b)
217217

218218
static int write_loop(void *dev, char *msg, int leng)
219219
{
220-
// int nchar = 0, val;
221-
222-
// do {
223-
224220
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;
232221
}
233222

234223
/**

0 commit comments

Comments
 (0)