staging: hp100: Remove space after opening parenthesis "("
authorSoumyajit Deb <debsoumyajit100@gmail.com>
Wed, 25 Mar 2020 07:29:05 +0000 (12:59 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Mar 2020 12:42:06 +0000 (13:42 +0100)
Remove space after opening parenthesis in if statement to improve code
readability and to adhere to the standard coding style.
Reported by checkpatch.pl

Signed-off-by: Soumyajit Deb <debsoumyajit100@gmail.com>
Link: https://lore.kernel.org/r/20200325072905.29066-7-debsoumyajit100@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/hp/hp100.c

index 44497c355d5ee71cfc79d3e3ceeed03b707bc410..9d100641167d574d43c386649e5b595f02a834e0 100644 (file)
@@ -2442,7 +2442,7 @@ static int hp100_sense_lan(struct net_device *dev)
        }
 
        /* Those cards don't have a 100 Mbit connector */
-       if ( !strcmp(lp->id, "HWP1920")  ||
+       if (!strcmp(lp->id, "HWP1920")  ||
             (lp->pci_dev &&
              lp->pci_dev->vendor == PCI_VENDOR_ID &&
              (lp->pci_dev->device == PCI_DEVICE_ID_HP_J2970A ||