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

From: Suzuki K Poulose
Date: Mon Oct 24 2022 - 16:59:45 EST


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@xxxxxxxxxx>

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