Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

-2
-2
drivers/soc/qcom/rmtfs_mem.c
··· 208 208 209 209 return 0; 210 210 211 - remove_cdev: 212 - cdev_device_del(&rmtfs_mem->cdev, &rmtfs_mem->dev); 213 211 put_device: 214 212 put_device(&rmtfs_mem->dev); 215 213