of_pci_irq: kill useless variable in of_irq_parse_pci()
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sun, 25 May 2014 18:50:06 +0000 (22:50 +0400)
committerGrant Likely <grant.likely@linaro.org>
Tue, 27 May 2014 11:13:34 +0000 (12:13 +0100)
commit08cf78ed41feaa21017487bad0a5a405c6cede43
tree14a8a16ec61dc5f604c3b8abfc87aa58afe76a5d
parentad69674e73a18dc3a8da557f4059ccf9389531a5
of_pci_irq: kill useless variable in of_irq_parse_pci()

The 'lspec' variable only caused pointless promotions from u8 to u32 on each
loop iteration, while it's enough to promote only once, after the loop.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
drivers/of/of_pci_irq.c