aboutsummaryrefslogtreecommitdiff
path: root/drivers/ata/sata_via.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2009-04-13 04:09:34 -0400
committerJeff Garzik <jgarzik@redhat.com>2009-04-13 04:09:34 -0400
commitf1c22943e92473903288ccab23debc9993c3a560 (patch)
tree24a3954198f58266045cd43ebf5c8b548f06df3b /drivers/ata/sata_via.c
parentb0cbc861a3c05e634520b049b5cc27ad6febb51f (diff)
[libata] sata_via: kill uninit'd var warning
Reported and initial patch by Marin Mitov. Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/sata_via.c')
-rw-r--r--drivers/ata/sata_via.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/sata_via.c b/drivers/ata/sata_via.c
index 98e8c50703b..bdd43c7f432 100644
--- a/drivers/ata/sata_via.c
+++ b/drivers/ata/sata_via.c
@@ -566,7 +566,7 @@ static int svia_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
static int printed_version;
unsigned int i;
int rc;
- struct ata_host *host;
+ struct ata_host *host = NULL;
int board_id = (int) ent->driver_data;
const unsigned *bar_sizes;