diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-04-04 14:42:44 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-05 11:59:33 -0700 |
commit | 1ec3d02f9cdf2a4b89664145c7965aa46398d31e (patch) | |
tree | edc592a141b173ad4fe61d3c68cb2affdafec7e0 /net/ipv6/mcast.c | |
parent | c438a801e0bb2a4db1d3183a9482af891577a281 (diff) | |
download | linux-stable-1ec3d02f9cdf2a4b89664145c7965aa46398d31e.tar.gz linux-stable-1ec3d02f9cdf2a4b89664145c7965aa46398d31e.tar.bz2 linux-stable-1ec3d02f9cdf2a4b89664145c7965aa46398d31e.zip |
qede: Remove a erroneous ++ in 'qede_rx_build_jumbo()'
This ++ is confusing. It looks duplicated with the one already performed in
'skb_fill_page_desc()'.
In fact, it is harmless. 'nr_frags' is written twice with the same value.
Once, because of the nr_frags++, and once because of the 'nr_frags = i + 1'
in 'skb_fill_page_desc()'.
So axe this post-increment to avoid confusion.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Manish Chopra <manishc@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/mcast.c')
0 files changed, 0 insertions, 0 deletions