diff options
author | Paul Menzel <paulepanter@users.sourceforge.net> | 2017-09-09 11:26:24 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2018-04-29 18:26:46 +0000 |
commit | 621abec1e842acd69d122b2b451b35b14d3c5049 (patch) | |
tree | 5f16b89ad8b5581bd779c7cbe7883d49a4a11359 /util/exynos | |
parent | 03f2536f9d4f9bbdec898deebd8fa7df3b33fabc (diff) |
sb/amd/cimx/sb800: Remove unused variable
scan-build from Clang 4.0.1-3 from Debian Sid/unstable warns about the
issue below.
```
CC ramstage/southbridge/amd/cimx/sb800/lpc.o
src/southbridge/amd/cimx/sb800/lpc.c:102:6: warning: Value stored to 'end' is never read
end = resource_end(res);
^ ~~~~~~~~~~~~~~~~~
1 warning generated.
```
The variable is only used in the commented out print statement. So,
remove the unused variable, and directly use the value directly in the
print statement.
Change-Id: I3f759f6361ffeb07980cb10e17930e11d738a6a7
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: https://review.coreboot.org/21463
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'util/exynos')
0 files changed, 0 insertions, 0 deletions