Commit f649dc71 authored by Soumyajit Deb's avatar Soumyajit Deb Committed by Greg Kroah-Hartman

staging: hp100: Remove space after opening parenthesis "("

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: default avatarSoumyajit Deb <debsoumyajit100@gmail.com>
Link: https://lore.kernel.org/r/20200325072905.29066-7-debsoumyajit100@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d7338269
...@@ -2442,7 +2442,7 @@ static int hp100_sense_lan(struct net_device *dev) ...@@ -2442,7 +2442,7 @@ static int hp100_sense_lan(struct net_device *dev)
} }
/* Those cards don't have a 100 Mbit connector */ /* 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 &&
lp->pci_dev->vendor == PCI_VENDOR_ID && lp->pci_dev->vendor == PCI_VENDOR_ID &&
(lp->pci_dev->device == PCI_DEVICE_ID_HP_J2970A || (lp->pci_dev->device == PCI_DEVICE_ID_HP_J2970A ||
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment