Commit f1c22943 authored by Jeff Garzik's avatar Jeff Garzik Committed by Jeff Garzik

[libata] sata_via: kill uninit'd var warning

Reported and initial patch by Marin Mitov.
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent b0cbc861
...@@ -566,7 +566,7 @@ static int svia_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) ...@@ -566,7 +566,7 @@ static int svia_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
static int printed_version; static int printed_version;
unsigned int i; unsigned int i;
int rc; int rc;
struct ata_host *host; struct ata_host *host = NULL;
int board_id = (int) ent->driver_data; int board_id = (int) ent->driver_data;
const unsigned *bar_sizes; const unsigned *bar_sizes;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment