cipso: correct comments of cipso_v4_cache_invalidate()
authorZheng Yejian <zhengyejian1@huawei.com>
Tue, 18 May 2021 09:11:41 +0000 (17:11 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 May 2021 20:34:28 +0000 (13:34 -0700)
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>
net/ipv4/cipso_ipv4.c

index bfaf327..d6e3a92 100644 (file)
@@ -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)