summaryrefslogtreecommitdiff
path: root/src/superio/aspeed/ast2400/ast2400.h
diff options
context:
space:
mode:
authorPaul Menzel <pmenzel@molgen.mpg.de>2021-05-25 12:34:16 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-05-26 12:25:13 +0000
commita081583e3d1a0e4173a582ddafaeacff8b28b9c9 (patch)
treecd810bfacc03d4b9080843ac2f8a839f9d76d722 /src/superio/aspeed/ast2400/ast2400.h
parente882269c1110726eea6da7205b61cc65270b8aeb (diff)
soc/intel/common/block/smbus: Use `pci_dev_read_resources()` in read resources
scan-build found a dead assignment, that the value stored to `res` is never read. Use `pci_dev_read_resources()` instead, as done in `sb/intel/common/smbus_ops.c` since commit 5f734327 (sb/intel/common/smbus_ops.c: Clean up read resources) avoiding the assignment. Change-Id: Ic59063b05a45dca411bf5b56c1abf3dd66ff0437 Found-by: scan-build (coreboot toolchain v0ad5fbd48d 2020-12-24 - clang version 11.0.0) Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/54904 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/superio/aspeed/ast2400/ast2400.h')
0 files changed, 0 insertions, 0 deletions