public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] soc: qcom: remove unused label
@ 2017-10-18  8:30 Arnd Bergmann
  2017-11-03 12:25 ` Arnd Bergmann
  2017-11-03 13:17 ` Alex Elder
  0 siblings, 2 replies; 4+ messages in thread
From: Arnd Bergmann @ 2017-10-18  8:30 UTC (permalink / raw)
  To: Andy Gross, David Brown
  Cc: Arnd Bergmann, Rob Herring, Bjorn Andersson, linux-arm-msm,
	linux-soc, linux-kernel

The newly added driver comes with a harmless warning:

drivers/soc/qcom/rmtfs_mem.c: In function 'qcom_rmtfs_mem_probe':
drivers/soc/qcom/rmtfs_mem.c:211:1: error: label 'remove_cdev' defined but not used [-Werror=unused-label]

This removes the unused label to avoid the warning.

Fixes: 702baebb8e00 ("soc: qcom: Remote filesystem memory driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/soc/qcom/rmtfs_mem.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/soc/qcom/rmtfs_mem.c b/drivers/soc/qcom/rmtfs_mem.c
index f6f2f0cb3b3a..ce35ff748adf 100644
--- a/drivers/soc/qcom/rmtfs_mem.c
+++ b/drivers/soc/qcom/rmtfs_mem.c
@@ -208,8 +208,6 @@ static int qcom_rmtfs_mem_probe(struct platform_device *pdev)
 
 	return 0;
 
-remove_cdev:
-	cdev_device_del(&rmtfs_mem->cdev, &rmtfs_mem->dev);
 put_device:
 	put_device(&rmtfs_mem->dev);
 
-- 
2.9.0

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

end of thread, other threads:[~2017-11-03 22:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-18  8:30 [PATCH] soc: qcom: remove unused label Arnd Bergmann
2017-11-03 12:25 ` Arnd Bergmann
2017-11-03 22:00   ` Bjorn Andersson
2017-11-03 13:17 ` Alex Elder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox