summaryrefslogtreecommitdiff
path: root/util/sconfig/sconfig.h
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2018-06-07 23:36:45 -0700
committerFurquan Shaikh <furquan@google.com>2018-06-08 23:36:47 +0000
commit4ca3a8abfa6456142520f3d53241167730b5fadc (patch)
tree2e7a8a6cc67fb41ca1e24c2eea455973ddeb2879 /util/sconfig/sconfig.h
parent931982600d3ac3dfb9d66e013604ecc0573a1744 (diff)
downloadcoreboot-4ca3a8abfa6456142520f3d53241167730b5fadc.tar.xz
util/sconfig: Get rid of rescnt in struct device
This change gets rid of rescnt member in struct device since it is redundant. "res" member can be used to determine if resource list is present or not. BUG=b:80081934 TEST=Verified that static.c generated with and without this CL is exactly the same for all boards built using abuild. Change-Id: I73a2361686ad1130716a7d29576f2d02b9ed33c1 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/26806 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'util/sconfig/sconfig.h')
-rw-r--r--util/sconfig/sconfig.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/util/sconfig/sconfig.h b/util/sconfig/sconfig.h
index f9137fa7ac..63b65fd372 100644
--- a/util/sconfig/sconfig.h
+++ b/util/sconfig/sconfig.h
@@ -99,9 +99,6 @@ struct device {
/* Indicates whether this device is enabled. */
int enabled;
- /* Indicates number of resources for the device. */
- int rescnt;
-
/* Subsystem IDs for the device. */
int subsystem_vendor;
int subsystem_device;