From: Satoru Takeuchi Date: Wed, 24 Dec 2014 05:52:04 +0000 (+0900) Subject: Btrfs: Remove unnecessary placeholder in btrfs_err_code X-Git-Tag: v4.0-rc1~33^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eb710b152003ea74561512b3f55c1e3c71dcef39;p=thirdparty%2Fkernel%2Flinux.git Btrfs: Remove unnecessary placeholder in btrfs_err_code "notused" is not necessary. Set 1 to the first entry is enough. Signed-off-by: Takeuchi Satoru Reviewed-by: David Sterba Signed-off-by: Chris Mason --- diff --git a/include/uapi/linux/btrfs.h b/include/uapi/linux/btrfs.h index 611e1c5893b49..b6dec05c7196a 100644 --- a/include/uapi/linux/btrfs.h +++ b/include/uapi/linux/btrfs.h @@ -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,