irqdomain: Remove unnecessary test for IRQ_DOMAIN_MAP_LEGACY
authorGrant Likely <grant.likely@secretlab.ca>
Mon, 4 Jun 2012 05:04:35 +0000 (22:04 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 15 Jun 2012 18:08:09 +0000 (12:08 -0600)
commit732557047128e5c200c3590efba39f10ac46bcb2
tree325db6acedf3501128ca9c88f6f2c28d5573ffdb
parent5ca4db61e859526b2dbee3bcea3626d3de49a0b2
irqdomain: Remove unnecessary test for IRQ_DOMAIN_MAP_LEGACY

Where irq_domain_associate() is called in irq_create_mapping, there is
no need to test for IRQ_DOMAIN_MAP_LEGACY because it is already tested
for earlier in the routine.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Rob Herring <rob.herring@calxeda.com>
kernel/irq/irqdomain.c