]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
staging: gpib: Remove commented-out debug code
authorSandeep Salwan <salwansandeep5@gmail.com>
Fri, 10 Jan 2025 23:38:34 +0000 (18:38 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Jan 2025 05:43:34 +0000 (06:43 +0100)
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>
drivers/staging/gpib/agilent_82350b/agilent_82350b.c

index 6d13b8eb481e08e2a7277794a917828a51cc72ee..fc5d29f6488b1171046ce6136c8aaa4656fed6f3 100644 (file)
@@ -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);