All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] gpio: hisi: delete some unused variables in hisi_gpio_probe()
@ 2020-12-21  8:25 Luo Jiaxing
  2020-12-21 10:35 ` Andy Shevchenko
  2020-12-27 21:09 ` Linus Walleij
  0 siblings, 2 replies; 4+ messages in thread
From: Luo Jiaxing @ 2020-12-21  8:25 UTC (permalink / raw)
  To: linus.walleij, andy.shevchenko, andriy.shevchenko
  Cc: linux-gpio, linux-kernel

kernel test rebot report that dat, set and clr in hisi_gpio_probe() is
unused variables. So delete it.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Luo Jiaxing <luojiaxing@huawei.com>
---
 drivers/gpio/gpio-hisi.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpio/gpio-hisi.c b/drivers/gpio/gpio-hisi.c
index a389780..d2971c9 100644
--- a/drivers/gpio/gpio-hisi.c
+++ b/drivers/gpio/gpio-hisi.c
@@ -254,7 +254,6 @@ static void hisi_gpio_get_pdata(struct device *dev,
 static int hisi_gpio_probe(struct platform_device *pdev)
 {
 	struct device *dev = &pdev->dev;
-	void __iomem *dat, *set, *clr;
 	struct hisi_gpio *hisi_gpio;
 	int port_num;
 	int ret;
-- 
2.7.4


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

end of thread, other threads:[~2020-12-27 21:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-21  8:25 [PATCH v1] gpio: hisi: delete some unused variables in hisi_gpio_probe() Luo Jiaxing
2020-12-21 10:35 ` Andy Shevchenko
2020-12-22 11:33   ` luojiaxing
2020-12-27 21:09 ` Linus Walleij

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.