diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-05-05 19:16:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-05 19:36:47 -0400 |
commit | 75c96f85845a6707b0f9916cb263cb3584f7d48f (patch) | |
tree | 45a64d1c9bb71d7093db3a11e0f21465c2e3dec6 /fs/char_dev.c | |
parent | 5e198d94dd0c3ec7f6138229e2e412c2c6268c38 (diff) |
[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>
Diffstat (limited to 'fs/char_dev.c')
-rw-r--r-- | fs/char_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/char_dev.c b/fs/char_dev.c index a745b1d9e54..c1e3537909f 100644 --- a/fs/char_dev.c +++ b/fs/char_dev.c | |||
@@ -328,7 +328,7 @@ void cd_forget(struct inode *inode) | |||
328 | spin_unlock(&cdev_lock); | 328 | spin_unlock(&cdev_lock); |
329 | } | 329 | } |
330 | 330 | ||
331 | void cdev_purge(struct cdev *cdev) | 331 | static void cdev_purge(struct cdev *cdev) |
332 | { | 332 | { |
333 | spin_lock(&cdev_lock); | 333 | spin_lock(&cdev_lock); |
334 | while (!list_empty(&cdev->list)) { | 334 | while (!list_empty(&cdev->list)) { |