lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1604275396-4565-1-git-send-email-fengfei_xi@126.com>
Date:   Mon,  2 Nov 2020 08:03:16 +0800
From:   Fengfei Xi <fengfei_xi@....com>
To:     darrick.wong@...cle.com
Cc:     linux-xfs@...r.kernel.org, linux-kernel@...r.kernel.org,
        Fengfei Xi <fengfei_xi@....com>
Subject: [PATCH] xfs: Drop useless comments

The names of functions xfs_buf_get_maps and _xfs_buf_free_pages
can fully express their roles. So their comments are redundant.
We could drop them entirely.

Signed-off-by: Fengfei Xi <fengfei_xi@....com>
---
 fs/xfs/xfs_buf.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c
index 4e4cf91..2aeed30 100644
--- a/fs/xfs/xfs_buf.c
+++ b/fs/xfs/xfs_buf.c
@@ -197,9 +197,6 @@
 	return 0;
 }
 
-/*
- *	Frees b_pages if it was allocated.
- */
 static void
 xfs_buf_free_maps(
 	struct xfs_buf	*bp)
@@ -297,9 +294,6 @@
 	return 0;
 }
 
-/*
- *	Frees b_pages if it was allocated.
- */
 STATIC void
 _xfs_buf_free_pages(
 	xfs_buf_t	*bp)
-- 
1.9.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ