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: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Showing
想要评论请 注册 或 登录
从无法访问的项目Fork
No need to initialize drive->gendev and waste memory on IDE settings
for not present devices.
Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>