]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
staging: gpib: Remove unneeded semicolon.
authorRohit Chavan <roheetchavan@gmail.com>
Wed, 16 Oct 2024 11:30:10 +0000 (17:00 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2024 14:08:03 +0000 (16:08 +0200)
This patch cleans up the GPIB driver by removing unneeded semicolons.

Signed-off-by: Rohit Chavan <roheetchavan@gmail.com>
Reviewed-by: Dave Penkler <dpenkler@gmail.com>
Link: https://lore.kernel.org/r/20241016113010.1619275-1-roheetchavan@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/tms9914/tms9914.c
drivers/staging/gpib/tnt4882/mite.c

index aa2308cf5477756e78c017e590f549052c553cc3..6d75294412d8f54a015f056657a698f334345ab2 100644 (file)
@@ -439,7 +439,7 @@ static int wait_for_read_byte(gpib_board_t *board, struct tms9914_priv *priv)
                                     test_bit(TIMO_NUM, &board->status))) {
                pr_debug("gpib: pio read wait interrupted\n");
                return -ERESTARTSYS;
-       };
+       }
        if (test_bit(TIMO_NUM, &board->status))
                return -ETIMEDOUT;
 
@@ -473,7 +473,7 @@ static inline uint8_t tms9914_read_data_in(gpib_board_t *board, struct tms9914_p
        default:
                pr_err("%s: bug! bad holdoff mode %i\n", __func__, priv->holdoff_mode);
                break;
-       };
+       }
        spin_unlock_irqrestore(&board->spinlock, flags);
 
        return data;
index adb656a5eb2c120a2764f06c9f91d6329e0c7d4b..882cc4bc122e707133d2a9d069a733092f688aef 100644 (file)
@@ -82,7 +82,7 @@ int mite_setup(struct mite_struct *mite)
        if (pci_request_regions(mite->pcidev, "mite")) {
                pr_err("mite: failed to request mite io regions.\n");
                return -EIO;
-       };
+       }
        addr = pci_resource_start(mite->pcidev, 0);
        mite->mite_phys_addr = addr;
        mite->mite_io_addr = ioremap(addr, pci_resource_len(mite->pcidev, 0));