Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ static LIST_HEAD(notify_list);

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.
+0 −2
Original line number Diff line number Diff line
@@ -170,7 +170,5 @@ int cn_cb_equal(struct cb_id *, struct cb_id *);

void cn_queue_wrapper(struct work_struct *work);

extern int cn_already_initialized;

#endif				/* __KERNEL__ */
#endif				/* __CONNECTOR_H */