[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:
Родитель
b0cbc861a3
Коммит
f1c22943e9
|
@ -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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче