2022-10-24 21:14:12

by Suzuki K Poulose

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

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 <[email protected]>

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