aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorJing Xiangfeng <[email protected]>2020-06-17 22:08:03 +0800
committerJason Gunthorpe <[email protected]>2020-06-18 15:18:00 -0300
commita7ca4c3ebe6994ba88eb23576b2c3901b08e1dec (patch)
treea7937472d1ae28638ffecc32607b3ecbbfea25aa /tools/perf/scripts/python/netdev-times.py
parentb3a9e3b9622ae10064826dccb4f7a52bd88c7407 (diff)
IB/srpt: Remove WARN_ON from srpt_cm_req_recv
The callers pass the pointer '&req' or 'private_data' to srpt_cm_req_recv(), and 'private_data' is initialized in srp_send_req(). 'sdev' is allocated and stored in srpt_add_one(). It's easy to show that sdev and req are always valid. So we remove unnecessary WARN_ON. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jing Xiangfeng <[email protected]> Reviewed-by: Bart Van Assche <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions