commit | 2244e850632f82466d7c041546326c7055fc7159 | [log] [tgz] |
---|---|---|
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Sat Feb 02 19:56:38 2008 +0100 |
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Sat Feb 02 19:56:38 2008 +0100 |
tree | 79edb64767f83b1de01296180efaa91d231c1047 | |
parent | 1bee4d1dce2d76bcf0bf9565298c62666de0fa1d [diff] |
ide: remove redundant hwif->present check from ide_register_hw() We check earlier for hwif->present and call ide_unregister() if necessary (after ide_unregister() hwif->present will be always cleared). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>