From 33da38e6c8c78d8036915a5534a8a8cd24340972 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 7 Jun 2015 06:28:41 -0700 Subject: [PATCH] scst_vdisk: Remove superfluous braces Detected by checkpatch. Signed-off-by: Bart Van Assche --- scst/src/dev_handlers/scst_vdisk.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index ef4570cd2..c51da3d4e 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -3794,9 +3794,8 @@ static int vdisk_sup_vpd(uint8_t *buf, struct scst_cmd *cmd, if (cmd->dev->type == TYPE_DISK) { *p++ = 0xB0; /* block limits */ *p++ = 0xB1; /* block device characteristics */ - if (virt_dev->thin_provisioned) { + if (virt_dev->thin_provisioned) *p++ = 0xB2; /* thin provisioning */ - } } buf[3] = p - page_list; /* page length */