PNPACPI: simplify irq_flags()
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Wed, 15 Aug 2007 16:32:09 +0000 (10:32 -0600)
committerLen Brown <len.brown@intel.com>
Fri, 24 Aug 2007 05:27:23 +0000 (01:27 -0400)
commit4cec086b219224167c22dd020d3dd2d9220e1d98
treea88e8ef2ea8b9c51cfcf259643cacb2f38e13bf7
parent1e0aa9ad721349781b728ec4226876247e3fd431
PNPACPI: simplify irq_flags()

No need for a temporary variable; just return the flags once we know them.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Acked-by: Adam Belay <abelay@novell.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/pnp/pnpacpi/rsparser.c