staging: fsl-dpaa2/eth: Initialize variable before use
authorIoana Radulescu <ruxandra.radulescu@nxp.com>
Tue, 6 Jun 2017 15:00:25 +0000 (10:00 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Jun 2017 10:02:53 +0000 (12:02 +0200)
commit8dffaf8a17c1d97a66306bd361798e0bcf562332
tree3a6c756652c6fe04df5577b73851887071f9a457
parentacbff8e31ef07676c752a35d2991bc5cd989b24b
staging: fsl-dpaa2/eth: Initialize variable before use

In dpni_get_irq_status(), status is both in and out parameter,
so initialize before use.
Issue found through static analysis tool.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c