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
This commit is contained in:
Bart Van Assche
2015-06-16 18:51:15 +00:00
parent 2056892f23
commit 86cb6fce1b

View File

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