aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorZheng Yejian <zhengyejian1@huawei.com>2021-05-18 17:11:41 +0800
committerDavid S. Miller <davem@davemloft.net>2021-05-18 13:34:28 -0700
commit4ac9e23cf2ccdad99dbc57d7d1bf264d53d23057 (patch)
tree055fe37562c32c7f21b7c097dec90854c0edb7f4
parentMerge branch 'custom-multipath-hash' (diff)
downloadwireguard-linux-4ac9e23cf2ccdad99dbc57d7d1bf264d53d23057.tar.xz
wireguard-linux-4ac9e23cf2ccdad99dbc57d7d1bf264d53d23057.zip
cipso: correct comments of cipso_v4_cache_invalidate()
Since cipso_v4_cache_invalidate() has no return value, so drop related descriptions in its comments. Fixes: 446fda4f2682 ("[NetLabel]: CIPSOv4 engine") Signed-off-by: Zheng Yejian <zhengyejian1@huawei.com> Acked-by: Paul Moore <paul@paul-moore.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/ipv4/cipso_ipv4.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/cipso_ipv4.c b/net/ipv4/cipso_ipv4.c
index bfaf327e9d12..d6e3a92841e3 100644
--- a/net/ipv4/cipso_ipv4.c
+++ b/net/ipv4/cipso_ipv4.c
@@ -187,8 +187,7 @@ static int __init cipso_v4_cache_init(void)
* cipso_v4_cache_invalidate - Invalidates the current CIPSO cache
*
* Description:
- * Invalidates and frees any entries in the CIPSO cache. Returns zero on
- * success and negative values on failure.
+ * Invalidates and frees any entries in the CIPSO cache.
*
*/
void cipso_v4_cache_invalidate(void)