diff options
| author | Christoph Hellwig <hch@lst.de> | 2025-01-15 10:46:37 +0100 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-01-16 11:48:10 +0100 |
| commit | 4b193fa75efffd90c054d1a7f2b5dbe29a461c14 (patch) | |
| tree | 8e27062697a5ac57905853e3cbbb53bf6bf4bf3b /include | |
| parent | fs: Fix return type of do_mount() from long to int (diff) | |
| download | linux-4b193fa75efffd90c054d1a7f2b5dbe29a461c14.tar.gz linux-4b193fa75efffd90c054d1a7f2b5dbe29a461c14.zip | |
lockref: remove lockref_put_not_zero
lockref_put_not_zero is not used anywhere, and unless I'm missing
something didn't end up being used used at all. Remove it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20250115094702.504610-2-hch@lst.de
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/lockref.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/lockref.h b/include/linux/lockref.h index c3a1f78bc884..e5aa0347f274 100644 --- a/include/linux/lockref.h +++ b/include/linux/lockref.h @@ -37,7 +37,6 @@ struct lockref { extern void lockref_get(struct lockref *); extern int lockref_put_return(struct lockref *); extern int lockref_get_not_zero(struct lockref *); -extern int lockref_put_not_zero(struct lockref *); extern int lockref_put_or_lock(struct lockref *); extern void lockref_mark_dead(struct lockref *); |
