Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
68b37641
Commit
68b37641
authored
Mar 21, 2003
by
Christoph Hellwig
Committed by
Linus Torvalds
Mar 21, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] make devfs_put() static to fs/devfs/base.c
Not use anywhere else nor should it.
parent
c0802f99
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
6 deletions
+1
-6
fs/devfs/base.c
fs/devfs/base.c
+1
-1
include/linux/devfs_fs_kernel.h
include/linux/devfs_fs_kernel.h
+0
-5
No files found.
fs/devfs/base.c
View file @
68b37641
...
...
@@ -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
);
...
...
include/linux/devfs_fs_kernel.h
View file @
68b37641
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment