Skip to content

Commit 9125aa2

Browse files
sandeepsalwan1gregkh
authored andcommitted
staging: gpib: Remove commented-out debug code
Code cleanup. This code has some debug code which is commented out. Delete it. Signed-off-by: Sandeep Salwan <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent b37333c commit 9125aa2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

drivers/staging/gpib/agilent_82350b/agilent_82350b.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,8 @@ int agilent_82350b_accel_read(gpib_board_t *board, uint8_t *buffer, size_t lengt
3030
unsigned short event_status;
3131
int i, num_fifo_bytes;
3232
//hardware doesn't support checking for end-of-string character when using fifo
33-
if (tms_priv->eos_flags & REOS) {
34-
//pr_info("ag-rd: using tms9914 read for REOS %x EOS %x\n",tms_priv->eos_flags,
35-
// tms_priv->eos);
33+
if (tms_priv->eos_flags & REOS)
3634
return tms9914_read(board, tms_priv, buffer, length, end, bytes_read);
37-
}
3835

3936
clear_bit(DEV_CLEAR_BN, &tms_priv->state);
4037

0 commit comments

Comments
 (0)