staging: mt7621-pci: initialize 'n' variable when it is declared
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Mon, 13 Apr 2020 15:50:18 +0000 (17:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Apr 2020 10:33:02 +0000 (12:33 +0200)
commit8220be592d82637e3f7ac269eb9d33a247e942b6
tree767f68afc25aa0111b5f2fccf3d53367e4a9fc6c
parentcddc585ec92c074025d2d76bc0f6ec120e44fe8a
staging: mt7621-pci: initialize 'n' variable when it is declared

Variable 'n' in 'mt7621_pcie_init_virtual_bridges' function
can be directly initialized when it is declared instead of
doing it before using it first.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20200413155018.31921-3-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-pci/pci-mt7621.c