summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZheng Yejian <zhengyejian1@huawei.com>2021-05-18 12:11:41 +0300
committerDavid S. Miller <davem@davemloft.net>2021-05-18 23:34:28 +0300
commit4ac9e23cf2ccdad99dbc57d7d1bf264d53d23057 (patch)
tree055fe37562c32c7f21b7c097dec90854c0edb7f4
parent22ba9d0d6c0d6fb399dbbedd475c500b65f2fc31 (diff)
downloadlinux-4ac9e23cf2ccdad99dbc57d7d1bf264d53d23057.tar.xz
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)