Skip to content
Snippets Groups Projects
Commit a7325a6c authored by YueHaibing's avatar YueHaibing Committed by Greg Kroah-Hartman
Browse files

coresight: stm: Remove set but not used variable 'res_size'


Fixes gcc '-Wunused-but-set-variable' warning:

drivers/hwtracing/coresight/coresight-stm.c: In function 'stm_probe':
drivers/hwtracing/coresight/coresight-stm.c:796:9: warning:
 variable 'res_size' set but not used [-Wunused-but-set-variable]

It never used since introduction in commit 237483aa ("coresight: stm:
adding driver for CoreSight STM component")

Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Tested-by: default avatarLeo Yan <leo.yan@linaro.org>
Signed-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a0f890ab
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment