net: dst: Make dst_destroy() static and return void.
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Fri, 2 Feb 2024 16:37:46 +0000 (17:37 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 6 Feb 2024 10:45:53 +0000 (11:45 +0100)
commit03ba6dc035c60991033529e630bd1552b2bca4d7
tree1f46acef6a5baae748dc24232cdc8b93a6977fb9
parentead21932c336f47e2cebb3ef642dd9f485f18b29
net: dst: Make dst_destroy() static and return void.

Since commit 52df157f17e56 ("xfrm: take refcnt of dst when creating
struct xfrm_dst bundle") dst_destroy() returns only NULL and no caller
cares about the return value.
There are no in in-tree users of dst_destroy() outside of the file.

Make dst_destroy() static and return void.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20240202163746.2489150-1-bigeasy@linutronix.de
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
include/net/dst.h
net/core/dst.c