Re: [PATCH] soc: qcom: remove unused label
From: Arnd Bergmann
Date: Fri Nov 03 2017 - 08:25:55 EST
On Wed, Oct 18, 2017 at 10:30 AM, Arnd Bergmann <arnd@xxxxxxxx> wrote:
> 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@xxxxxxxx>
I just noticed that the build bots now show the warning
arm-soc/next/drivers, so I've
applied my patch on top of that branch.
Arnd