All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

ide: remove superfluous check from ide_proc_port_register_devices()

Signed-off-by: default avatarBartlomiej Zolnierkiewicz <>
parent 0688d3a6
......@@ -600,7 +600,7 @@ void ide_proc_port_register_devices(ide_hwif_t *hwif)
int i;
ide_port_for_each_dev(i, drive, hwif) {
if ((drive->dev_flags & IDE_DFLAG_PRESENT) == 0 || drive->proc)
if ((drive->dev_flags & IDE_DFLAG_PRESENT) == 0)
drive->proc = proc_mkdir(drive->name, parent);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment