On Thu, Feb 13, 2025 at 12:19:19PM +0100, Peter Seiderer wrote:
Remove all superfluous index ('i += len') assignements (value not used afterwards).
Signed-off-by: Peter Seiderer ps.report@gmx.net
Changes v4 -> v5
- new patch (suggested by Simon Horman)
net/core/pktgen.c | 52 ++++++----------------------------------------- 1 file changed, 6 insertions(+), 46 deletions(-)
Thanks Peter,
I went through each of these and they all seem to be cases where i is incremented but the function returns without using the new value of i.
Reviewed-by: Simon Horman horms@kernel.org