mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
net: Remove unused inline function dst_hold_and_use()
commit0b81882ddfupstream. All uses of dst_hold_and_use() have been removed since commit1202cdd665("Remove DECnet support from kernel"), so remove it. Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
53076071fb
commit
7d07fd03f5
@@ -235,12 +235,6 @@ static inline void dst_use_noref(struct dst_entry *dst, unsigned long time)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void dst_hold_and_use(struct dst_entry *dst, unsigned long time)
|
|
||||||
{
|
|
||||||
dst_hold(dst);
|
|
||||||
dst_use_noref(dst, time);
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline struct dst_entry *dst_clone(struct dst_entry *dst)
|
static inline struct dst_entry *dst_clone(struct dst_entry *dst)
|
||||||
{
|
{
|
||||||
if (dst)
|
if (dst)
|
||||||
|
|||||||
Reference in New Issue
Block a user