Move the && logical continuation from the start of the second line of an if 
statement
to the end of the first line.

Signed-off-by: Bryan Thompson <bryan.thomp...@unisys.com>
Signed-off-by: Benjamin Romer <benjamin.ro...@unisys.com>
---
 drivers/staging/unisys/virtpci/virtpci.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/unisys/virtpci/virtpci.c 
b/drivers/staging/unisys/virtpci/virtpci.c
index 3cfa767..baf12e5 100644
--- a/drivers/staging/unisys/virtpci/virtpci.c
+++ b/drivers/staging/unisys/virtpci/virtpci.c
@@ -696,8 +696,8 @@ virtpci_match_device(const struct pci_device_id *ids,
                DBGINF("ids->vendor:%x dev->vendor:%x ids->device:%x 
dev->device:%x\n",
                     ids->vendor, dev->vendor, ids->device, dev->device);
 
-               if ((ids->vendor == dev->vendor)
-                   && (ids->device == dev->device))
+               if ((ids->vendor == dev->vendor) &&
+                   (ids->device == dev->device))
                        return ids;
 
                ids++;
-- 
1.7.9.5

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to