[PATCH 07/10] staging: comedi: remove superfluous retval = 0 in comedi_read()

2015-10-12 Thread Ian Abbott
`comedi_read()` initializes `retval` to 0. The other `retval = 0` assignments are superfluous, so remove them. Signed-off-by: Ian Abbott --- drivers/staging/comedi/comedi_fops.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/comedi/comedi_fops.c

[PATCH 07/10] staging: comedi: remove superfluous retval = 0 in comedi_read()

2015-10-12 Thread Ian Abbott
`comedi_read()` initializes `retval` to 0. The other `retval = 0` assignments are superfluous, so remove them. Signed-off-by: Ian Abbott --- drivers/staging/comedi/comedi_fops.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/comedi/comedi_fops.c