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:
parent
55533bc607
commit
d8614afd8d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue