Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d771d62e authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

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: default avatarArnd Bergmann <arnd@arndb.de>
parent 30f3b067
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);