[libata] sata_via: kill uninit'd var warning
Reported and initial patch by Marin Mitov. Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
parent
b0cbc861a3
commit
f1c22943e9
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue