Skip to content

Commit

Permalink
virtio_pci: fix coding style for structs
Browse files Browse the repository at this point in the history
should be

struct foo {
}

not

struct foo
{
}

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
  • Loading branch information
Michael S. Tsirkin committed Dec 9, 2014
1 parent af53572 commit f913dd4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions drivers/virtio/virtio_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit f913dd4

Please sign in to comment.