mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
[PATCH] make some things static
This patch makes some needlessly global identifiers static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Acked-by: Arjan van de Ven <arjanv@infradead.org> Acked-by: Trond Myklebust <trond.myklebust@fys.uio.no> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
5e198d94dd
commit
75c96f8584
38 changed files with 93 additions and 86 deletions
|
@ -328,7 +328,7 @@ void cd_forget(struct inode *inode)
|
|||
spin_unlock(&cdev_lock);
|
||||
}
|
||||
|
||||
void cdev_purge(struct cdev *cdev)
|
||||
static void cdev_purge(struct cdev *cdev)
|
||||
{
|
||||
spin_lock(&cdev_lock);
|
||||
while (!list_empty(&cdev->list)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue