devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] pinctrl: pinctrl-imx27.c:  Cleaning up remove a struct that is unused
@ 2014-06-28 21:48 Rickard Strandqvist
  2014-07-01  7:07 ` Sascha Hauer
  2014-07-08  8:29 ` Linus Walleij
  0 siblings, 2 replies; 3+ messages in thread
From: Rickard Strandqvist @ 2014-06-28 21:48 UTC (permalink / raw)
  To: Linus Walleij, Grant Likely
  Cc: Rickard Strandqvist, Rob Herring, linux-kernel, devicetree

Removal of a struct that is never used

This was found using a static code analysis program called cppcheck

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
---
 drivers/pinctrl/pinctrl-imx27.c |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/pinctrl/pinctrl-imx27.c b/drivers/pinctrl/pinctrl-imx27.c
index 417c992..27ae7ce 100644
--- a/drivers/pinctrl/pinctrl-imx27.c
+++ b/drivers/pinctrl/pinctrl-imx27.c
@@ -440,12 +440,6 @@ static struct of_device_id imx27_pinctrl_of_match[] = {
 	{ /* sentinel */ }
 };
 
-struct imx27_pinctrl_private {
-	int num_gpio_childs;
-	struct platform_device **gpio_dev;
-	struct mxc_gpio_platform_data *gpio_pdata;
-};
-
 static int imx27_pinctrl_probe(struct platform_device *pdev)
 {
 	return imx1_pinctrl_core_probe(pdev, &imx27_pinctrl_info);
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-07-08  8:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-28 21:48 [PATCH] pinctrl: pinctrl-imx27.c: Cleaning up remove a struct that is unused Rickard Strandqvist
2014-07-01  7:07 ` Sascha Hauer
2014-07-08  8:29 ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).