]> git.baikalelectronics.ru Git - kernel.git/commit
IB/rxe: add the static type to the variable
authorZhu Yanjun <yanjun.zhu@oracle.com>
Sun, 7 Jan 2018 12:08:48 +0000 (07:08 -0500)
committerDoug Ledford <dledford@redhat.com>
Mon, 8 Jan 2018 22:43:06 +0000 (17:43 -0500)
commit47651a62753f44e6bc9e60c0c8ad7e66a2e14862
treea0bf523ea8b8793a6d33cc0669f60a70be2b9599
parentcd605d9ca08e483d212fe8eab0a37b2c2ecbd41c
IB/rxe: add the static type to the variable

The variable recv_sockets is only used in the file rxe_net.c. So
it is better to add static type to it.

CC: Srinivas Eeda <srinivas.eeda@oracle.com>
CC: Joe Jin <joe.jin@oracle.com>
CC: Junxiao Bi <junxiao.bi@oracle.com>
Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rxe/rxe_net.c
drivers/infiniband/sw/rxe/rxe_net.h