arch/x86/exception.c: Remove double initialization

In procedure exception_init(), structure pointer gates is initialized twice.
Remove one initialization.

BUG=b:112253891
TEST=Build and boot grunt.

Change-Id: If0280963e8b796f795e77a11569277dcf16b4507
Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Reviewed-on: https://review.coreboot.org/27948
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Richard Spiegel 2018-08-07 14:35:54 -07:00 committed by Martin Roth
parent 569711a4ff
commit b1299c7aab
1 changed files with 1 additions and 1 deletions

View File

@ -622,7 +622,7 @@ asmlinkage void exception_init(void)
{
int i;
uint16_t segment;
struct intr_gate *gates = car_get_var_ptr(idt);
struct intr_gate *gates;
segment = get_cs();
gates = car_get_var_ptr(idt);