]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
nvme-cli: code cleanup adjust if statement
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Sun, 12 May 2019 18:58:16 +0000 (11:58 -0700)
committerKeith Busch <keith.busch@intel.com>
Tue, 14 May 2019 21:45:06 +0000 (15:45 -0600)
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
nvme-ioctl.c

index 242a01f5728d43b4591e3ae3c3bc4e196cac3bae..f3a56dc5108670ff8e84bbf10bf369ddf47d9873 100644 (file)
@@ -563,7 +563,7 @@ static int nvme_property(int fd, __u8 fctype, __le32 off, __le64 *value, __u8 at
 
        if (fctype == nvme_fabrics_type_property_get){
                cmd.nsid = nvme_fabrics_type_property_get;
-       } else if(fctype == nvme_fabrics_type_property_set) {
+       } else if (fctype == nvme_fabrics_type_property_set) {
                cmd.nsid = nvme_fabrics_type_property_set;
                cmd.cdw12 = *value;
        } else {