diff options
author | Cheng Xu <chengyou@linux.alibaba.com> | 2022-09-09 17:38:19 +0800 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2022-09-20 14:27:51 +0300 |
commit | 95f911d94995861311d78c77acb91af1ad6b8cc5 (patch) | |
tree | db54d0230849b0ad6e221457489d7e71746adeb5 /drivers/infiniband/hw/usnic/usnic_ib_sysfs.h | |
parent | 6dbe4a8dead84de474483910b02ec9e6a10fc1a9 (diff) |
RDMA/erdma: Eliminate unnecessary casting for erdma_post_cmd_wait
erdma_post_cmd_wait does not use the 'u64 *req' input parameter directly.
So it is better to define it to 'void *req', and by this we can eliminate
the casting when calling erdma_post_cmd_wait.
Signed-off-by: Cheng Xu <chengyou@linux.alibaba.com>
Link: https://lore.kernel.org/r/20220909093822.33868-2-chengyou@linux.alibaba.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/infiniband/hw/usnic/usnic_ib_sysfs.h')
0 files changed, 0 insertions, 0 deletions