diff options
author | Sandeep Salwan <salwansandeep5@gmail.com> | 2025-01-10 18:38:34 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-13 06:43:34 +0100 |
commit | 9125aa208a17cbbd3fdcc7953bb41d2d2fd35df0 (patch) | |
tree | e4b5c3867146dbc9a3071385fee11a9128b8e8dc | |
parent | b37333c8657cfece16b2fb0ba3fef2cb481a0a19 (diff) |
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 <salwansandeep5@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/20250110233834.64147-1-salwansandeep5@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/gpib/agilent_82350b/agilent_82350b.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/staging/gpib/agilent_82350b/agilent_82350b.c b/drivers/staging/gpib/agilent_82350b/agilent_82350b.c index 6d13b8eb481e..fc5d29f6488b 100644 --- a/drivers/staging/gpib/agilent_82350b/agilent_82350b.c +++ b/drivers/staging/gpib/agilent_82350b/agilent_82350b.c @@ -30,11 +30,8 @@ int agilent_82350b_accel_read(gpib_board_t *board, uint8_t *buffer, size_t lengt unsigned short event_status; int i, num_fifo_bytes; //hardware doesn't support checking for end-of-string character when using fifo - if (tms_priv->eos_flags & REOS) { - //pr_info("ag-rd: using tms9914 read for REOS %x EOS %x\n",tms_priv->eos_flags, - // tms_priv->eos); + if (tms_priv->eos_flags & REOS) return tms9914_read(board, tms_priv, buffer, length, end, bytes_read); - } clear_bit(DEV_CLEAR_BN, &tms_priv->state); |