ide: remove needless drive->present checks from device drivers
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 10 Oct 2008 20:39:24 +0000 (22:39 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 10 Oct 2008 20:39:24 +0000 (22:39 +0200)
commit2a924662b646fa25cb491d50aa1202a94aa4ac55
tree9339ca9cbc1600149a91a6b0fa919ef0d3b6ec3d
parent3cd5f1eae093a7d6ff8a63c746eba9d6f689ba91
ide: remove needless drive->present checks from device drivers

Remove needless drive->present checks from ->probe methods
(device model takes care of that).

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-cd.c
drivers/ide/ide-disk.c
drivers/ide/ide-floppy.c
drivers/ide/ide-tape.c
drivers/scsi/ide-scsi.c