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 <hch@lst.de> Link: https://lore.kernel.org/r/20250115094702.504610-5-hch@lst.de Signed-off-by: Christian Brauner <brauner@kernel.org>
1 parent 6d2868d commit 25d8060

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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)