Re: [PATCH net-next v5 7/8] net: pktgen: remove all superfluous index assignements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx>
> ---
> 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@xxxxxxxxxx>




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux