History

Btrfs: Remove unnecessary placeholder in btrfs_err_code

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

Satoru Takeuchi committed 11 years ago

Commit eb710b11 parent b76808f1 file · +1 −2Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/btrfs.h+1−2
@@ -495,8 +495,7 @@ struct btrfs_ioctl_send_args { · 494 unmodified lines
495495
496496 /* Error codes as returned by the kernel */
497497 enum btrfs_err_code {
498− notused,
499− BTRFS_ERROR_DEV_RAID1_MIN_NOT_MET,
498+ BTRFS_ERROR_DEV_RAID1_MIN_NOT_MET = 1,
500499 BTRFS_ERROR_DEV_RAID10_MIN_NOT_MET,
501500 BTRFS_ERROR_DEV_RAID5_MIN_NOT_MET,
502501 BTRFS_ERROR_DEV_RAID6_MIN_NOT_MET,