diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2024-11-01 19:10:57 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2024-11-03 19:02:02 +0300 |
commit | aceee63a3aba4611f89dfc7e127792f469f45526 (patch) | |
tree | 77fdad6501cc0726d69c9e6139cd7cc5b086623d /tools/perf/scripts/python/gecko.py | |
parent | cf90a4d1b9ff9e09442226bdb18fec45f013db9d (diff) | |
download | linux-aceee63a3aba4611f89dfc7e127792f469f45526.tar.xz |
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 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions