aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/mvpp2/mrvl_mtr.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/mvpp2/mrvl_mtr.c')
-rw-r--r--drivers/net/mvpp2/mrvl_mtr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mvpp2/mrvl_mtr.c b/drivers/net/mvpp2/mrvl_mtr.c
index 9cd53bed..9adcd975 100644
--- a/drivers/net/mvpp2/mrvl_mtr.c
+++ b/drivers/net/mvpp2/mrvl_mtr.c
@@ -422,7 +422,7 @@ mrvl_meter_profile_update(struct rte_eth_dev *dev, uint32_t mtr_id,
struct mrvl_priv *priv = dev->data->dev_private;
struct mrvl_mtr_profile *profile;
struct mrvl_mtr *mtr;
- int ret, enabled;
+ int ret, enabled = 0;
if (!priv->ppio)
return -rte_mtr_error_set(error, EPERM,