[PATCH v2 6/7] staging: qlge: Fix suspect code indent warning in ql_init_device

From: Rylan Dmello
Date: Wed Apr 29 2020 - 21:34:48 EST


Fix checkpatch.pl warnings:

WARNING: suspect code indent for conditional statements (16, 23)
WARNING: line over 80 characters

Signed-off-by: Rylan Dmello <mail@xxxxxxxxxxxx>
---
drivers/staging/qlge/qlge_main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/qlge/qlge_main.c b/drivers/staging/qlge/qlge_main.c
index 9aa62d146d97..fa708c722033 100644
--- a/drivers/staging/qlge/qlge_main.c
+++ b/drivers/staging/qlge/qlge_main.c
@@ -4420,7 +4420,8 @@ static int ql_init_device(struct pci_dev *pdev, struct net_device *ndev,
} else {
err = dma_set_mask(&pdev->dev, DMA_BIT_MASK(32));
if (!err)
- err = dma_set_coherent_mask(&pdev->dev, DMA_BIT_MASK(32));
+ err = dma_set_coherent_mask(&pdev->dev,
+ DMA_BIT_MASK(32));
}

if (err) {
--
2.26.2