提交 78374676 编写于 作者: L Li Zefan 提交者: David S. Miller

CONNECTOR: make cn_already_initialized static

It is used in connector.c only, so make it static.
Signed-off-by: NLi Zefan <lizf@cn.fujitsu.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 148f9729
...@@ -47,7 +47,7 @@ static LIST_HEAD(notify_list); ...@@ -47,7 +47,7 @@ static LIST_HEAD(notify_list);
static struct cn_dev cdev; static struct cn_dev cdev;
int cn_already_initialized = 0; static int cn_already_initialized;
/* /*
* msg->seq and msg->ack are used to determine message genealogy. * msg->seq and msg->ack are used to determine message genealogy.
......
...@@ -170,7 +170,5 @@ int cn_cb_equal(struct cb_id *, struct cb_id *); ...@@ -170,7 +170,5 @@ int cn_cb_equal(struct cb_id *, struct cb_id *);
void cn_queue_wrapper(struct work_struct *work); void cn_queue_wrapper(struct work_struct *work);
extern int cn_already_initialized;
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
#endif /* __CONNECTOR_H */ #endif /* __CONNECTOR_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册