Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ag71xx: Slightly simplify 'ag71xx_rx_packets()' #15435

Merged
merged 1 commit into from
May 14, 2024
Merged

Conversation

neheb
Copy link
Contributor

@neheb neheb commented May 9, 2024

There is no need to use 'list_for_each_entry_safe' here, as nothing is removed from the list in the 'for' loop.
Use 'list_for_each_entry' instead, it is slightly less verbose.

Upstream backport.

@github-actions github-actions bot added kernel pull request/issue with Linux kernel related changes target/ath79 pull request/issue for ath79 target labels May 9, 2024
Ansuel pushed a commit to neheb/openwrt that referenced this pull request May 14, 2024
There is no need to use 'list_for_each_entry_safe' here, as nothing is
removed from the list in the 'for' loop.
Use 'list_for_each_entry' instead, it is slightly less verbose.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: openwrt#15435
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
There is no need to use 'list_for_each_entry_safe' here, as nothing is
removed from the list in the 'for' loop.
Use 'list_for_each_entry' instead, it is slightly less verbose.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: openwrt#15435
Link: openwrt#15435
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
@openwrt-bot openwrt-bot merged commit 5ac8cf1 into openwrt:main May 14, 2024
2 checks passed
ABu33 pushed a commit to ABu33/openwrt that referenced this pull request May 15, 2024
There is no need to use 'list_for_each_entry_safe' here, as nothing is
removed from the list in the 'for' loop.
Use 'list_for_each_entry' instead, it is slightly less verbose.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: openwrt#15435
Link: openwrt#15435
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Vladdrako pushed a commit to Vladdrako/openwrt that referenced this pull request May 18, 2024
There is no need to use 'list_for_each_entry_safe' here, as nothing is
removed from the list in the 'for' loop.
Use 'list_for_each_entry' instead, it is slightly less verbose.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: openwrt#15435
Link: openwrt#15435
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
ABu33 pushed a commit to ABu33/openwrt that referenced this pull request May 18, 2024
There is no need to use 'list_for_each_entry_safe' here, as nothing is
removed from the list in the 'for' loop.
Use 'list_for_each_entry' instead, it is slightly less verbose.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: openwrt#15435
Link: openwrt#15435
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
ABu33 pushed a commit to ABu33/openwrt that referenced this pull request May 20, 2024
There is no need to use 'list_for_each_entry_safe' here, as nothing is
removed from the list in the 'for' loop.
Use 'list_for_each_entry' instead, it is slightly less verbose.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: openwrt#15435
Link: openwrt#15435
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
ABu33 pushed a commit to ABu33/openwrt that referenced this pull request May 24, 2024
There is no need to use 'list_for_each_entry_safe' here, as nothing is
removed from the list in the 'for' loop.
Use 'list_for_each_entry' instead, it is slightly less verbose.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: openwrt#15435
Link: openwrt#15435
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
ABu33 pushed a commit to ABu33/openwrt that referenced this pull request Jun 1, 2024
There is no need to use 'list_for_each_entry_safe' here, as nothing is
removed from the list in the 'for' loop.
Use 'list_for_each_entry' instead, it is slightly less verbose.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: openwrt#15435
Link: openwrt#15435
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
ABu33 pushed a commit to ABu33/openwrt that referenced this pull request Jun 1, 2024
There is no need to use 'list_for_each_entry_safe' here, as nothing is
removed from the list in the 'for' loop.
Use 'list_for_each_entry' instead, it is slightly less verbose.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: openwrt#15435
Link: openwrt#15435
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kernel pull request/issue with Linux kernel related changes target/ath79 pull request/issue for ath79 target
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants