diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-01 17:09:35 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-01 17:09:35 -0500 |
commit | 537f06c5deaffbbe155bcc898369f889e7f3e647 (patch) | |
tree | b50e791f9a33a7e510dd7439ec047ca08c857b9f /drivers/ide/legacy/dtc2278.c | |
parent | 422278ef9585b0be62b1bd6d48935a7529aa5094 (diff) |
ide: cleanup ide_system_bus_speed()
Use the facts that:
* When ide_init() is called 'system_bus_speed' always equals zero.
* system_bus_clock() is never called before ide_init().
and:
* Move printk() from ide_system_bus_speed() to ide_init().
* Don't assign 'system_bus_speed' in ide_system_bus_speed().
* Don't call ide_system_bus_speed() in system_bus_clock().
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/legacy/dtc2278.c')
0 files changed, 0 insertions, 0 deletions