summaryrefslogtreecommitdiff
path: root/dmidecode.c
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2022-06-15 13:35:25 +0200
committerJean Delvare <jdelvare@suse.de>2022-06-15 13:35:25 +0200
commit46a0628addfc43f37c0830d908bebab0887eb889 (patch)
tree8af69c8a8dc18347c22088b93937694648ec1dca /dmidecode.c
parent9cb0ca886898ead793700a7e64e0a9328ae602d0 (diff)
downloaddmidecode-git-46a0628addfc43f37c0830d908bebab0887eb889.tar.gz
dmidecode: Drop outdated references
Types 126 and 127 are at the end of the list, their reference section changes as new structure types are being added to the specification. Just omit the section number for them, so that we don't have to update it with every new version of the specification. Signed-off-by: Jean Delvare <jdelvare@suse.de>
Diffstat (limited to 'dmidecode.c')
-rw-r--r--dmidecode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dmidecode.c b/dmidecode.c
index d290117..d93cd68 100644
--- a/dmidecode.c
+++ b/dmidecode.c
@@ -5348,11 +5348,11 @@ static void dmi_decode(const struct dmi_header *h, u16 ver)
dmi_firmware_components(data[0x17], data + 0x18);
break;
- case 126: /* 7.44 Inactive */
+ case 126:
pr_handle_name("Inactive");
break;
- case 127: /* 7.45 End Of Table */
+ case 127:
pr_handle_name("End Of Table");
break;