提交 f1c22943 编写于 作者: J Jeff Garzik 提交者: Jeff Garzik

[libata] sata_via: kill uninit'd var warning

Reported and initial patch by Marin Mitov.
Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
上级 b0cbc861
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册