Skip to content

Commit

Permalink
ata: fix obviously wrong comment
Browse files Browse the repository at this point in the history
Also remove the now-useless debug printouts which are supposed to
tell us when the scan starts and ends.

Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
  • Loading branch information
Vegard Nossum authored and Jeff Garzik committed Apr 13, 2009
1 parent aa431dd commit f600535
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/ata/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -6110,13 +6110,11 @@ int ata_host_register(struct ata_host *host, struct scsi_host_template *sht)
ata_port_printk(ap, KERN_INFO, "DUMMY\n");
}

/* perform each probe synchronously */
DPRINTK("probe begin\n");
/* perform each probe asynchronously */
for (i = 0; i < host->n_ports; i++) {
struct ata_port *ap = host->ports[i];
async_schedule(async_port_probe, ap);
}
DPRINTK("probe end\n");

return 0;
}
Expand Down

0 comments on commit f600535

Please sign in to comment.