diff options
author | Christoph Hellwig <hch@lst.de> | 2025-01-15 10:46:40 +0100 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2025-01-16 11:48:11 +0100 |
commit | 25d8060418b4e83e109b20f3b3931301e254b8f4 (patch) | |
tree | 12b73a890f97dd49d88038e06d9fa55d025f01a1 /include/linux/lockref.h | |
parent | 6d2868d5b6fca7534641440efe432cf268bd8e1b (diff) |
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>
Diffstat (limited to 'include/linux/lockref.h')
-rw-r--r-- | include/linux/lockref.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/lockref.h b/include/linux/lockref.h index 3d770e1bdbad..f821f46e9fb4 100644 --- a/include/linux/lockref.h +++ b/include/linux/lockref.h @@ -34,12 +34,12 @@ struct lockref { }; }; -extern void lockref_get(struct lockref *); -extern int lockref_put_return(struct lockref *); +void lockref_get(struct lockref *lockref); +int lockref_put_return(struct lockref *lockref); bool lockref_get_not_zero(struct lockref *lockref); bool lockref_put_or_lock(struct lockref *lockref); -extern void lockref_mark_dead(struct lockref *); +void lockref_mark_dead(struct lockref *lockref); bool lockref_get_not_dead(struct lockref *lockref); /* Must be called under spinlock for reliable results */ |