Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eb710b15 authored by Satoru Takeuchi's avatar Satoru Takeuchi Committed by Chris Mason
Browse files

Btrfs: Remove unnecessary placeholder in btrfs_err_code



"notused" is not necessary. Set 1 to the first entry is enough.

Signed-off-by: default avatarTakeuchi Satoru <takeuchi_satoru@jp.fujitsu.com>
Cc: Gui Hecheng <guihc.fnst@cn.fujitsu.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.cz>
Signed-off-by: default avatarChris Mason <clm@fb.com>
parent b76808fc
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -495,8 +495,7 @@ struct btrfs_ioctl_send_args {

/* Error codes as returned by the kernel */
enum btrfs_err_code {
	notused,
	BTRFS_ERROR_DEV_RAID1_MIN_NOT_MET,
	BTRFS_ERROR_DEV_RAID1_MIN_NOT_MET = 1,
	BTRFS_ERROR_DEV_RAID10_MIN_NOT_MET,
	BTRFS_ERROR_DEV_RAID5_MIN_NOT_MET,
	BTRFS_ERROR_DEV_RAID6_MIN_NOT_MET,