soc: cosmetic: reduce horizontal indentation in IRQ init.
This commit is contained in:
parent
9af56cf247
commit
5cc3db0176
|
@ -1047,8 +1047,7 @@ class SoC(Module):
|
|||
raise
|
||||
|
||||
# SoC IRQ Interconnect ---------------------------------------------------------------------
|
||||
if hasattr(self, "cpu"):
|
||||
if hasattr(self.cpu, "interrupt"):
|
||||
if hasattr(self, "cpu") and hasattr(self.cpu, "interrupt"):
|
||||
for name, loc in sorted(self.irq.locs.items()):
|
||||
if name in self.cpu.interrupts.keys():
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue