net: mvpp2: fix maybe-uninitialized warning
authorJisheng Zhang <jszhang@marvell.com>
Thu, 31 Mar 2016 09:01:23 +0000 (17:01 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Apr 2016 18:35:47 +0000 (14:35 -0400)
commitd82b0c21d44d1cc61a23db56c2b2cf52ea9f3220
tree40dba52f8d73c71935a2446c81a60be27af878a9
parent5a5abb1fa3b05dd6aa821525832644c1e7d2905f
net: mvpp2: fix maybe-uninitialized warning

This is to fix the following maybe-uninitialized warning:

drivers/net/ethernet/marvell/mvpp2.c:6007:18: warning: 'err' may be
used uninitialized in this function [-Wmaybe-uninitialized]

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2.c