diff options
| author | Gou Hao <gouhao@uniontech.com> | 2026-07-24 10:28:51 +0800 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-07-26 04:23:13 -0400 |
| commit | a273210687f255b12c2f6baf8f25ff80cdbb29ed (patch) | |
| tree | c3935c3e897386c75b73226b3d81504e101a3bcc /tools | |
| parent | ecdcc8a455b7845714b7b086a8ad229056867558 (diff) | |
| download | linux-next-a273210687f255b12c2f6baf8f25ff80cdbb29ed.tar.gz linux-next-a273210687f255b12c2f6baf8f25ff80cdbb29ed.zip | |
RDMA/cxgb4: remove dead NULL checks after GFP_NOFAIL allocations
alloc_skb() with the __GFP_NOFAIL flag will never return NULL,
so the subsequent NULL checks and error handling are unreachable
dead code. Remove them.
Signed-off-by: Gou Hao <gouhao@uniontech.com>
Link: https://patch.msgid.link/20260724022851.466017-7-gouhao@uniontech.com
Reviewed-by: Potnuri Bharat Teja <bharat@chelsio.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
