diff options
| author | Weihang Li <liweihang@huawei.com> | 2020-05-22 21:02:56 +0800 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-05-25 14:20:45 -0300 |
| commit | 14ba87304bf98a0a0c069708bb14e92a616420d1 (patch) | |
| tree | 572a36c949eb64143e132799248370abe2ca9a87 /lib/mpi/mpiutil.c | |
| parent | 8e029d386bcef651bb89091c8a48375c2506aefe (diff) | |
RDMA/hns: Remove redundant type cast for general pointers
There is no need to do a type cast on genernal pointers, they could be
assigned to any type of variables. In addition, optimize initialization of
some variables and adjust order of them.
Link: https://lore.kernel.org/r/1590152579-32364-2-git-send-email-liweihang@huawei.com
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
