CONNECTOR: make cn_already_initialized static
It is used in connector.c only, so make it static. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
148f97292e
commit
78374676ef
2 changed files with 1 additions and 3 deletions
|
@ -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 *);
|
||||||
|
|
||||||
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 */
|
||||||
|
|
Loading…
Reference in a new issue