commit | f1c22943e92473903288ccab23debc9993c3a560 | [log] [tgz] |
---|---|---|
author | Jeff Garzik <jeff@garzik.org> | Mon Apr 13 04:09:34 2009 -0400 |
committer | Jeff Garzik <jgarzik@redhat.com> | Mon Apr 13 04:09:34 2009 -0400 |
tree | 24a3954198f58266045cd43ebf5c8b548f06df3b | |
parent | b0cbc861a3c05e634520b049b5cc27ad6febb51f [diff] [blame] |
[libata] sata_via: kill uninit'd var warning Reported and initial patch by Marin Mitov. Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
diff --git a/drivers/ata/sata_via.c b/drivers/ata/sata_via.c index 98e8c50..bdd43c7 100644 --- a/drivers/ata/sata_via.c +++ b/drivers/ata/sata_via.c
@@ -566,7 +566,7 @@ 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;