mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 11:11:27 +00:00
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:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user