Don't split sector assignment line for REQ_OP_READ and REQ_OP_WRITE in the virtblk_setup_cmd() which fits in one line perfectly. Signed-off-by: Chaitanya Kulkarni <kch@xxxxxxxxxx> --- drivers/block/virtio_blk.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c index b77711e73422..d038800474c2 100644 --- a/drivers/block/virtio_blk.c +++ b/drivers/block/virtio_blk.c @@ -210,13 +210,11 @@ static blk_status_t virtblk_setup_cmd(struct virtio_device *vdev, switch (req_op(req)) { case REQ_OP_READ: type = VIRTIO_BLK_T_IN; - vbr->out_hdr.sector = cpu_to_virtio64(vdev, - blk_rq_pos(req)); + vbr->out_hdr.sector = cpu_to_virtio64(vdev, blk_rq_pos(req)); break; case REQ_OP_WRITE: type = VIRTIO_BLK_T_OUT; - vbr->out_hdr.sector = cpu_to_virtio64(vdev, - blk_rq_pos(req)); + vbr->out_hdr.sector = cpu_to_virtio64(vdev, blk_rq_pos(req)); break; case REQ_OP_FLUSH: type = VIRTIO_BLK_T_FLUSH; -- 2.29.0