mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-24 18:16:04 +00:00
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>
This commit is contained in:
parent
521fd1e8d1
commit
5c2854e62c
1 changed files with 4 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue