Skip to content

Commit 25d8060

Browse files
Christoph Hellwigbrauner
authored andcommitted
lockref: drop superfluous externs
Drop the superfluous externs from the remaining prototypes in lockref.h. Signed-off-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Christian Brauner <[email protected]>
1 parent 6d2868d commit 25d8060

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/linux/lockref.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ struct lockref {
3434
};
3535
};
3636

37-
extern void lockref_get(struct lockref *);
38-
extern int lockref_put_return(struct lockref *);
37+
void lockref_get(struct lockref *lockref);
38+
int lockref_put_return(struct lockref *lockref);
3939
bool lockref_get_not_zero(struct lockref *lockref);
4040
bool lockref_put_or_lock(struct lockref *lockref);
4141

42-
extern void lockref_mark_dead(struct lockref *);
42+
void lockref_mark_dead(struct lockref *lockref);
4343
bool lockref_get_not_dead(struct lockref *lockref);
4444

4545
/* Must be called under spinlock for reliable results */

0 commit comments

Comments
 (0)