diff options
author | Soumyajit Deb <debsoumyajit100@gmail.com> | 2020-03-25 12:59:05 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-25 13:42:06 +0100 |
commit | f649dc7169918e894f9bd1d9a270e32daf4cb9d9 (patch) | |
tree | c353e0780351d8fcd7d32ad3d61a5a4215e379bd /drivers/staging | |
parent | d7338269bb29778b7c020bc7e16c48ed4e8e00b9 (diff) |
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: 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>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/hp/hp100.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hp/hp100.c b/drivers/staging/hp/hp100.c index 44497c355d5e..9d100641167d 100644 --- a/drivers/staging/hp/hp100.c +++ b/drivers/staging/hp/hp100.c @@ -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 || |