Skip to content

Commit d771d62

Browse files
committed
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: 702baeb ("soc: qcom: Remote filesystem memory driver") Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent 30f3b06 commit d771d62

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/soc/qcom/rmtfs_mem.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,6 @@ static int qcom_rmtfs_mem_probe(struct platform_device *pdev)
208208

209209
return 0;
210210

211-
remove_cdev:
212-
cdev_device_del(&rmtfs_mem->cdev, &rmtfs_mem->dev);
213211
put_device:
214212
put_device(&rmtfs_mem->dev);
215213

0 commit comments

Comments
 (0)