aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorWenpeng Liang <[email protected]>2022-03-02 14:48:28 +0800
committerJason Gunthorpe <[email protected]>2022-03-04 17:36:32 -0400
commit904de76c42b7d758e75197f8d532a1ffafc3caad (patch)
treee3ac110165bc1c5f46c706375c6eff47cb7783b4 /net/lapb/lapb_timer.c
parentcf7f8f5c1c541ece6ec265432c8cf22a6edf067b (diff)
RDMA/hns: Clean up the return value check of hns_roce_alloc_cmd_mailbox()
hns_roce_alloc_cmd_mailbox() never returns NULL, so the check should be IS_ERR(). And the error code should be converted as the function's return value. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Wenpeng Liang <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions