mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-21 21:12:25 -05:00
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:
committed by
Greg Kroah-Hartman
parent
f17cd48639
commit
97d83d292b
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user