aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-10-18 04:04:28 -0400
committerArnd Bergmann <arnd@arndb.de>2017-11-03 08:24:56 -0400
commitd771d62e3139986cc62d2067b37ebbe33a6d3b08 (patch)
tree29a300caf33fa92f75aa1868d022e78ff08a3ca9
parent30f3b0678ce6fc46bcdde61ca35821032d0f25b5 (diff)
soc: qcom: remove unused label
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>
-rw-r--r--drivers/soc/qcom/rmtfs_mem.c2
1 files changed, 0 insertions, 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)
208 208
209 return 0; 209 return 0;
210 210
211remove_cdev:
212 cdev_device_del(&rmtfs_mem->cdev, &rmtfs_mem->dev);
213put_device: 211put_device:
214 put_device(&rmtfs_mem->dev); 212 put_device(&rmtfs_mem->dev);
215 213