Skip to content

Commit c65161f

Browse files
committed
intel_workaround: Remove unused variable
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
1 parent f1442e3 commit c65161f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/intel_workarounds.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,8 @@ static int pit_8254cge_workaround(void)
131131

132132
int apply_intel_platform_workarounds(void)
133133
{
134-
uint16_t device_id, vendor_id;
134+
uint16_t vendor_id;
135135

136-
device_id = pciConfigReadWord(0, 0, 0, 0x2);
137136
vendor_id = pciConfigReadWord(0, 0, 0, 0x0);
138137

139138
if (vendor_id != 0x8086) {

0 commit comments

Comments
 (0)