Commit 803ea346 authored by Jakub Kicinski's avatar Jakub Kicinski Committed by Saeed Mahameed
Browse files

net/mlx5e: simplify condition after napi budget handling change



Since recent commit budget can't be 0 here.

Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
parent eb8e9fae
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -207,7 +207,7 @@ int mlx5e_napi_poll(struct napi_struct *napi, int budget)
		}
		ch_stats->aff_change++;
		aff_change = true;
		if (budget && work_done == budget)
		if (work_done == budget)
			work_done--;
	}