Explorar o código

virtio_pci: fix coding style for structs

should be

struct foo {
}

not

struct foo
{
}

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Michael S. Tsirkin %!s(int64=11) %!d(string=hai) anos
pai
achega
f913dd4536
Modificáronse 1 ficheiros con 2 adicións e 4 borrados
  1. 2 4
      drivers/virtio/virtio_pci.c

+ 2 - 4
drivers/virtio/virtio_pci.c

@@ -32,8 +32,7 @@ MODULE_LICENSE("GPL");
 MODULE_VERSION("1");
 
 /* Our device structure */
-struct virtio_pci_device
-{
+struct virtio_pci_device {
 	struct virtio_device vdev;
 	struct pci_dev *pci_dev;
 
@@ -72,8 +71,7 @@ enum {
 	VP_MSIX_VQ_VECTOR = 1,
 };
 
-struct virtio_pci_vq_info
-{
+struct virtio_pci_vq_info {
 	/* the actual virtqueue */
 	struct virtqueue *vq;