scst_vdisk: Remove superfluous braces

Detected by checkpatch.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
This commit is contained in:
Bart Van Assche
2015-06-07 06:28:41 -07:00
parent 45f2cfa7ef
commit 33da38e6c8

View File

@@ -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 */