aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/mutex.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2024-11-01 16:10:57 +0000
committerLeon Romanovsky <[email protected]>2024-11-03 16:02:02 +0000
commitaceee63a3aba4611f89dfc7e127792f469f45526 (patch)
tree77fdad6501cc0726d69c9e6139cd7cc5b086623d /rust/helpers/mutex.c
parentRDMA/bnxt_re: Fix some error handling paths in bnxt_re_probe() (diff)
downloadkernel-aceee63a3aba4611f89dfc7e127792f469f45526.tar.gz
kernel-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 <[email protected]> Link: https://patch.msgid.link/f02eb630734ee530315dce9f60b078f631ae93d0.1730477345.git.christophe.jaillet@wanadoo.fr Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions