Skip to content

Commit

Permalink
cleanup - removed useless code (caused printing a warning)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ladislav Slezak committed Feb 27, 2013
1 parent a56b65b commit 6b20d68
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/lan/YaPI/NETWORK.pm
Expand Up @@ -85,8 +85,6 @@ sub Read {
} elsif (LanItems->getCurrentItem()->{'hwinfo'}->{'type'} eq "eth") {
my $device = LanItems->getCurrentItem()->{"hwinfo"}->{"dev_name"};
$interfaces{$device}= {'vendor' => LanItems->getCurrentItem()->{"hwinfo"}->{"name"}};

$interfaces{$device}
}
}

Expand Down

0 comments on commit 6b20d68

Please sign in to comment.