commit | 59bff5ba5529feac3a0214d897b1920cbe4e2278 | [log] [tgz] |
---|---|---|
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Sat Apr 26 17:36:32 2008 +0200 |
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Sat Apr 26 17:36:32 2008 +0200 |
tree | d849fb6c526077f96512b8253c924fba1ec5cb12 | |
parent | bad7c825cb27377faf1c926953aa15c980c62620 [diff] [blame] |
ide: cleanup ide_find_port() Remove no longer needed matching against I/O base and 'base' argument. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
diff --git a/drivers/ide/ide-generic.c b/drivers/ide/ide-generic.c index 25fda0a..f3ec02e 100644 --- a/drivers/ide/ide-generic.c +++ b/drivers/ide/ide-generic.c
@@ -33,7 +33,7 @@ if (sscanf(buf, "%x:%x:%d", &base, &ctl, &irq) != 3) return -EINVAL; - hwif = ide_find_port(base); + hwif = ide_find_port(); if (hwif == NULL) return -ENOENT;