[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1397866433-21119-2-git-send-email-ryan@desfo.org>
Date: Fri, 18 Apr 2014 20:13:46 -0400
From: Ryan Desfosses <ryan@...fo.org>
To: bhelgaas@...gle.com
Cc: trivial@...nel.org, linux-kernel@...r.kernel.org,
linux-pci@...r.kernel.org, Ryan Desfosses <ryan@...fo.org>
Subject: [PATCH 1/8] ats: removed parentheses after return
change made to resolve following checkpatch message:
ERROR: return is not a function, parentheses are not required
branch: Linux 3.15-rc1
Signed-off-by: Ryan Desfosses <ryan@...fo.org>
---
drivers/pci/ats.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pci/ats.c b/drivers/pci/ats.c
index a8099d4..d653182 100644
--- a/drivers/pci/ats.c
+++ b/drivers/pci/ats.c
@@ -369,7 +369,7 @@ int pci_max_pasids(struct pci_dev *pdev)
supported = (supported & PASID_NUMBER_MASK) >> PASID_NUMBER_SHIFT;
- return (1 << supported);
+ return 1 << supported;
}
EXPORT_SYMBOL_GPL(pci_max_pasids);
#endif /* CONFIG_PCI_PASID */
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists