From: Christoph Hellwig Date: Wed, 15 Jan 2025 09:46:40 +0000 (+0100) Subject: lockref: drop superfluous externs X-Git-Tag: v6.14-rc1~216^2^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=25d8060418b4e83e109b20f3b3931301e254b8f4;p=thirdparty%2Fkernel%2Flinux.git lockref: drop superfluous externs Drop the superfluous externs from the remaining prototypes in lockref.h. Signed-off-by: Christoph Hellwig Link: https://lore.kernel.org/r/20250115094702.504610-5-hch@lst.de Signed-off-by: Christian Brauner --- diff --git a/include/linux/lockref.h b/include/linux/lockref.h index 3d770e1bdbad6..f821f46e9fb40 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 */