diff options
author | 2024-11-01 17:10:57 +0100 | |
---|---|---|
committer | 2024-11-03 11:02:02 -0500 | |
commit | aceee63a3aba4611f89dfc7e127792f469f45526 (patch) | |
tree | 77fdad6501cc0726d69c9e6139cd7cc5b086623d /scripts/generate_rust_analyzer.py | |
parent | RDMA/bnxt_re: Fix some error handling paths in bnxt_re_probe() (diff) | |
download | wireguard-linux-aceee63a3aba4611f89dfc7e127792f469f45526.tar.xz wireguard-linux-aceee63a3aba4611f89dfc7e127792f469f45526.zip |
RDMA/bnxt_re: Remove some dead code
If the probe succeeds, then auxiliary_get_drvdata() can't return a NULL
pointer.
So several NULL checks can be removed to simplify code.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://patch.msgid.link/f02eb630734ee530315dce9f60b078f631ae93d0.1730477345.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions