Commit 91eab796 authored by Zhu Yanjun's avatar Zhu Yanjun Committed by Doug Ledford

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: default avatarZhu Yanjun <yanjun.zhu@oracle.com>
Reviewed-by: default avatarLeon Romanovsky <leonro@mellanox.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent f8457d58
...@@ -82,7 +82,7 @@ struct rxe_dev *get_rxe_by_name(const char *name) ...@@ -82,7 +82,7 @@ struct rxe_dev *get_rxe_by_name(const char *name)
} }
struct rxe_recv_sockets recv_sockets; static struct rxe_recv_sockets recv_sockets;
struct device *rxe_dma_device(struct rxe_dev *rxe) struct device *rxe_dma_device(struct rxe_dev *rxe)
{ {
......
...@@ -43,7 +43,6 @@ struct rxe_recv_sockets { ...@@ -43,7 +43,6 @@ struct rxe_recv_sockets {
struct socket *sk6; struct socket *sk6;
}; };
extern struct rxe_recv_sockets recv_sockets;
extern struct notifier_block rxe_net_notifier; extern struct notifier_block rxe_net_notifier;
void rxe_release_udp_tunnel(struct socket *sk); void rxe_release_udp_tunnel(struct socket *sk);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment