diff options
| author | 2026-05-21 15:49:36 +0300 | |
|---|---|---|
| committer | 2026-05-25 12:54:37 -0700 | |
| commit | 640656c30a6a89f7b34568b0f632a5fe007ff9d0 (patch) | |
| tree | 4d35b0ef2b77b58fbc5daebc505cd0674247800f /scripts/Makefile.thinlto | |
| parent | rds: filter RDS_INFO_* getsockopt by caller's netns (diff) | |
net: lan966x: cleanup error handling in lan966x_fdma_rx_alloc_page_pool()
This code works, but there are a few things to tidy up:
1. No need to an unlikely() because IS_ERR() already has an unlikely()
built in.
2. No need to use PTR_ERR_OR_ZERO() because it's not an error pointer.
3. Use the returned error code directly instead of using groveling in
rx->page_pool to find it.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Link: https://patch.msgid.link/ag7_YBWRpRmY9MGT@stanley.mountain
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
