ide: skip not present devices in init_gendisk()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 2 Feb 2008 18:56:40 +0000 (19:56 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 2 Feb 2008 18:56:40 +0000 (19:56 +0100)
commit5c2854e62ce1dfb2cd86968f0d7b0d45e07c14db
tree0c53ddfc734d73ff2e3027403b6545e59a0cbdd4
parent521fd1e8d1d9ee7121e5c792ad4b955043fb5ffd
ide: skip not present devices in init_gendisk()

No need to initialize drive->gendev and waste memory on IDE settings
for not present devices.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-probe.c