From f649dc7169918e894f9bd1d9a270e32daf4cb9d9 Mon Sep 17 00:00:00 2001 From: Soumyajit Deb Date: Wed, 25 Mar 2020 12:59:05 +0530 Subject: [PATCH] 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 Link: https://lore.kernel.org/r/20200325072905.29066-7-debsoumyajit100@gmail.com Signed-off-by: Greg Kroah-Hartman --- drivers/staging/hp/hp100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/hp/hp100.c b/drivers/staging/hp/hp100.c index 44497c355d5ee..9d100641167d5 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 || -- 2.30.2