Skip to content

Commit

Permalink
ide: remove superfluous check from ide_proc_port_register_devices()
Browse files Browse the repository at this point in the history
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Mar 24, 2009
1 parent 0688d3a commit 1902a25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ide/ide-proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
continue;

drive->proc = proc_mkdir(drive->name, parent);
Expand Down

0 comments on commit 1902a25

Please sign in to comment.