[PATCH] coresight: cti: Remove unused variables in cti_{dis,en}able_hw()

Suzuki K Poulose suzuki.poulose at arm.com
Mon Oct 24 08:23:53 PDT 2022


Hi Nathan

On 24/10/2022 16:12, Nathan Chancellor wrote:
> Clean up the following warnings, as the variables are no longer used.
> 
>    drivers/hwtracing/coresight/coresight-cti-core.c:93:17: warning: unused variable 'dev' [-Wunused-variable]
>            struct device *dev = &drvdata->csdev->dev;
>                          ^
>    drivers/hwtracing/coresight/coresight-cti-core.c:154:17: warning: unused variable 'dev' [-Wunused-variable]
>            struct device *dev = &drvdata->csdev->dev;
>                          ^
>    2 warnings generated.
> 
> Fixes: 665c157e0204 ("coresight: cti: Fix hang in cti_disable_hw()")
> Signed-off-by: Nathan Chancellor <nathan at kernel.org>

Thanks for your patch, this is now reverted upstream. I have
queued a patch locally to sqaush the changes and plan to push
it once the revert lands upstream.

Thanks
Suzuki




More information about the linux-arm-kernel mailing list