Skip to content

Commit

Permalink
CONNECTOR: make cn_already_initialized static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Li Zefan authored and David S. Miller committed Feb 27, 2008
1 parent 148f972 commit 7837467
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/connector/connector.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 0 additions & 2 deletions include/linux/connector.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 7837467

Please sign in to comment.