Commit 68b37641 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Linus Torvalds

[PATCH] make devfs_put() static to fs/devfs/base.c

Not use anywhere else nor should it.
parent c0802f99
......@@ -916,7 +916,7 @@ static struct devfs_entry *devfs_get (struct devfs_entry *de)
* @de: The handle to the devfs entry.
*/
void devfs_put (devfs_handle_t de)
static void devfs_put (devfs_handle_t de)
{
if (!de) return;
VERIFY_ENTRY (de);
......
......@@ -37,7 +37,6 @@ struct unique_numspace
#define UNIQUE_NUMBERSPACE_INITIALISER {SPIN_LOCK_UNLOCKED, 0, 0, 0, NULL}
extern void devfs_put (devfs_handle_t de);
extern devfs_handle_t devfs_register (devfs_handle_t dir, const char *name,
unsigned int flags,
unsigned int major, unsigned int minor,
......@@ -66,10 +65,6 @@ struct unique_numspace
#define UNIQUE_NUMBERSPACE_INITIALISER {0}
static inline void devfs_put (devfs_handle_t de)
{
return;
}
static inline devfs_handle_t devfs_register (devfs_handle_t dir,
const char *name,
unsigned int flags,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment