mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-28 09:20:18 +00:00
scst_vdisk: Remove superfluous braces
Detected by checkpatch. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user