diff options
| -rw-r--r-- | drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c index afadba99f7b8..2ecd55856c50 100644 --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | |||
| @@ -9054,7 +9054,6 @@ static int parse_tc_actions(struct ixgbe_adapter *adapter, | |||
| 9054 | { | 9054 | { |
| 9055 | const struct tc_action *a; | 9055 | const struct tc_action *a; |
| 9056 | LIST_HEAD(actions); | 9056 | LIST_HEAD(actions); |
| 9057 | int err; | ||
| 9058 | 9057 | ||
| 9059 | if (!tcf_exts_has_actions(exts)) | 9058 | if (!tcf_exts_has_actions(exts)) |
| 9060 | return -EINVAL; | 9059 | return -EINVAL; |
| @@ -9075,11 +9074,11 @@ static int parse_tc_actions(struct ixgbe_adapter *adapter, | |||
| 9075 | 9074 | ||
| 9076 | if (!dev) | 9075 | if (!dev) |
| 9077 | return -EINVAL; | 9076 | return -EINVAL; |
| 9078 | err = handle_redirect_action(adapter, dev->ifindex, queue, | 9077 | return handle_redirect_action(adapter, dev->ifindex, |
| 9079 | action); | 9078 | queue, action); |
| 9080 | if (err == 0) | ||
| 9081 | return err; | ||
| 9082 | } | 9079 | } |
| 9080 | |||
| 9081 | return -EINVAL; | ||
| 9083 | } | 9082 | } |
| 9084 | 9083 | ||
| 9085 | return -EINVAL; | 9084 | return -EINVAL; |
