virtio_blk: coding style fixes
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 15 Jan 2015 11:33:31 +0000 (13:33 +0200)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 21 Jan 2015 05:58:57 +0000 (16:28 +1030)
Most of our code has
struct foo {
}

Fix two instances where blk is inconsistent.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/block/virtio_blk.c

index b72c11a10f409b6cc1fb4b7795d866ff01dd8b00..655e570b9b3170339b47b77046290f832f857001 100644 (file)
@@ -28,8 +28,7 @@ struct virtio_blk_vq {
        char name[VQ_NAME_LEN];
 } ____cacheline_aligned_in_smp;
 
-struct virtio_blk
-{
+struct virtio_blk {
        struct virtio_device *vdev;
 
        /* The disk structure for the kernel. */
@@ -52,8 +51,7 @@ struct virtio_blk
        struct virtio_blk_vq *vqs;
 };
 
-struct virtblk_req
-{
+struct virtblk_req {
        struct request *req;
        struct virtio_blk_outhdr out_hdr;
        struct virtio_scsi_inhdr in_hdr;