Commit 78374676 authored by Li Zefan's avatar Li Zefan Committed by David S. Miller

CONNECTOR: make cn_already_initialized static

It is used in connector.c only, so make it static.
Signed-off-by: default avatarLi Zefan <lizf@cn.fujitsu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment