1
0
Fork 0

staging: fsl-dpaa2/mac: Fix uninitialized variable

Reported by coverity.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
5.4-rM2-2.2.x-imx-squashed
Ioana Radulescu 2018-10-19 17:00:17 +03:00 committed by Dong Aisheng
parent 4f489198bb
commit bc3333ba01
1 changed files with 1 additions and 1 deletions

View File

@ -355,7 +355,7 @@ static irqreturn_t dpaa2_mac_irq_handler(int irq_num, void *arg)
struct device *dev = (struct device *)arg;
struct fsl_mc_device *mc_dev = to_fsl_mc_device(dev);
struct dpaa2_mac_priv *priv = dev_get_drvdata(dev);
struct dpmac_link_cfg link_cfg;
struct dpmac_link_cfg link_cfg = { 0 };
u32 status;
int err;