]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5abbfb4496aa50875207317ff6c506b62ddaf9cf
tree14a8a16ec61dc5f604c3b8abfc87aa58afe76a5d
parenta85eafdc2911267eae45ebef5d4ce458e8b9e601
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