]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
nvme: fix coding style issue
authorMax Gurtovoy <maxg@mellanox.com>
Thu, 30 May 2019 09:43:26 +0000 (12:43 +0300)
committerKeith Busch <keith.busch@gmail.com>
Fri, 7 Jun 2019 16:17:00 +0000 (10:17 -0600)
commit4fe9563f8851cee4986d6f0d3bfcffc599e99fd4
tree56fc98886e102b1c529ba1934c53a848dcd12ea6
parent39889dc766590028782ec796b6603e56ed7f83e4
nvme: fix coding style issue

It's more common to use the following coding style:
if (condition) {
   do_that;
   do_this;
} else if (condition2) {
   do_this;
} else {
   do_that;
}

Reviewed-by: Minwoo Im <minwoo.im@samsung.com>
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
nvme.c