From 86cb6fce1b2d44938cfd42c094abaf37913e5cd1 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 16 Jun 2015 18:51:15 +0000 Subject: [PATCH] scst_vdisk: Remove superfluous braces Detected by checkpatch. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6327 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- 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 437e37d5e..12a66a783 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -3796,9 +3796,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 */