staging: vchiq_2835_arm: Reduce scope of i in free_pagelist
authorStefan Wahren <stefan.wahren@i2se.com>
Thu, 25 May 2017 22:26:12 +0000 (00:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 May 2017 15:02:29 +0000 (17:02 +0200)
commit158ef80a8741e55c0214c174509b42bc5de6c7e1
tree5841bde7105f8ffd237131bba5b01c90d2abe45e
parentd3de2bb882544798eae3958cfb458b1fe001988b
staging: vchiq_2835_arm: Reduce scope of i in free_pagelist

We can reduce the scope of the counting variable i. This has
been found by CppCheck.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c