x86: gen_gdt: remove extra unnecessary parens

Pylint complains so we fix.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2024-03-15 11:35:03 -07:00 committed by Anas Nashif
commit d8614afd8d

View file

@ -137,7 +137,7 @@ def create_tss_entry(base, limit, dpl):
gran = 0
flags = (gran << 7) | limit_hi
type_byte = ((present << 7) | (dpl << 5) | type_code)
type_byte = (present << 7) | (dpl << 5) | type_code
return struct.pack(GDT_ENT_FMT, limit_lo, base_lo, base_mid,
type_byte, flags, base_hi)