aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorKalesh AP <[email protected]>2024-04-09 14:54:26 -0700
committerJakub Kicinski <[email protected]>2024-04-10 19:55:05 -0700
commit43226dccd1bd74c6bf97d8d357e782f4922d39e3 (patch)
treeddb0d7c76d142a4db003bca5690975d01f12c611 /tools/perf/scripts/python/mem-phys-addr.py
parent17b0dfa1f35bf58c17ae75da4af99e6b2c51ed57 (diff)
bnxt_en: Remove a redundant NULL check in bnxt_register_dev()
The memory for "edev->ulp_tbl" is allocated inside the bnxt_rdma_aux_device_init() function. If it fails, the driver will not create the auxiliary device for RoCE. Hence the NULL check inside bnxt_register_dev() is unnecessary. Reviewed-by: Vikas Gupta <[email protected]> Reviewed-by: Somnath Kotur <[email protected]> Signed-off-by: Kalesh AP <[email protected]> Signed-off-by: Michael Chan <[email protected]> Reviewed-by: Jacob Keller <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions