|
@@ -9054,7 +9054,6 @@ static int parse_tc_actions(struct ixgbe_adapter *adapter,
|
|
{
|
|
{
|
|
const struct tc_action *a;
|
|
const struct tc_action *a;
|
|
LIST_HEAD(actions);
|
|
LIST_HEAD(actions);
|
|
- int err;
|
|
|
|
|
|
|
|
if (!tcf_exts_has_actions(exts))
|
|
if (!tcf_exts_has_actions(exts))
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
@@ -9075,11 +9074,11 @@ static int parse_tc_actions(struct ixgbe_adapter *adapter,
|
|
|
|
|
|
if (!dev)
|
|
if (!dev)
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
- err = handle_redirect_action(adapter, dev->ifindex, queue,
|
|
|
|
- action);
|
|
|
|
- if (err == 0)
|
|
|
|
- return err;
|
|
|
|
|
|
+ return handle_redirect_action(adapter, dev->ifindex,
|
|
|
|
+ queue, action);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ return -EINVAL;
|
|
}
|
|
}
|
|
|
|
|
|
return -EINVAL;
|
|
return -EINVAL;
|