[07/15] btrfs: sysfs, delete code in a comment
diff mbox series

Message ID 20191118084656.3089-8-anand.jain@oracle.com
State New
Headers show
Series
  • btrfs: sysfs, cleanups
Related show

Commit Message

Anand Jain Nov. 18, 2019, 8:46 a.m. UTC
commit 3ebb2ada (btrfs: sysfs: export supported checksums), added some unwanted
commented-code, delete it.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
---
 fs/btrfs/sysfs.c | 10 ----------
 1 file changed, 10 deletions(-)

Comments

David Sterba Nov. 18, 2019, 3:39 p.m. UTC | #1
On Mon, Nov 18, 2019 at 04:46:48PM +0800, Anand Jain wrote:
> commit 3ebb2ada (btrfs: sysfs: export supported checksums), added some unwanted
> commented-code, delete it.
> 
> Signed-off-by: Anand Jain <anand.jain@oracle.com>
> ---
>  fs/btrfs/sysfs.c | 10 ----------
>  1 file changed, 10 deletions(-)
> 
> diff --git a/fs/btrfs/sysfs.c b/fs/btrfs/sysfs.c
> index 724af1322dce..9494ccace624 100644
> --- a/fs/btrfs/sysfs.c
> +++ b/fs/btrfs/sysfs.c
> @@ -255,16 +255,6 @@ BTRFS_FEAT_ATTR_INCOMPAT(metadata_uuid, METADATA_UUID);
>  BTRFS_FEAT_ATTR_COMPAT_RO(free_space_tree, FREE_SPACE_TREE);
>  BTRFS_FEAT_ATTR_INCOMPAT(raid1c34, RAID1C34);
>  
> -/*
> -static struct btrfs_feature_attr btrfs_attr_features_checksums_name = {
> -	.kobj_attr = __INIT_KOBJ_ATTR(supported_checksums, S_IRUGO,
> -				      btrfs_supported_checksums_show,
> -				      NULL),
> -	.feature_set	= FEAT_INCOMPAT,
> -	.feature_bit	= 0,
> -};
> -*/

Uh, I'll fold that to the patch that introduced it, thanks for spotting
it.

Patch
diff mbox series

diff --git a/fs/btrfs/sysfs.c b/fs/btrfs/sysfs.c
index 724af1322dce..9494ccace624 100644
--- a/fs/btrfs/sysfs.c
+++ b/fs/btrfs/sysfs.c
@@ -255,16 +255,6 @@  BTRFS_FEAT_ATTR_INCOMPAT(metadata_uuid, METADATA_UUID);
 BTRFS_FEAT_ATTR_COMPAT_RO(free_space_tree, FREE_SPACE_TREE);
 BTRFS_FEAT_ATTR_INCOMPAT(raid1c34, RAID1C34);
 
-/*
-static struct btrfs_feature_attr btrfs_attr_features_checksums_name = {
-	.kobj_attr = __INIT_KOBJ_ATTR(supported_checksums, S_IRUGO,
-				      btrfs_supported_checksums_show,
-				      NULL),
-	.feature_set	= FEAT_INCOMPAT,
-	.feature_bit	= 0,
-};
-*/
-
 static struct attribute *btrfs_supported_feature_attrs[] = {
 	BTRFS_FEAT_ATTR_PTR(mixed_backref),
 	BTRFS_FEAT_ATTR_PTR(default_subvol),