aboutsummaryrefslogtreecommitdiff
path: root/tests/getpart.pm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/getpart.pm')
-rw-r--r--tests/getpart.pm4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/getpart.pm b/tests/getpart.pm
index 897ac24bb..969dfd066 100644
--- a/tests/getpart.pm
+++ b/tests/getpart.pm
@@ -138,10 +138,6 @@ sub compareparts {
my $sizefirst=scalar(@$firstref);
my $sizesecond=scalar(@$secondref);
- if($sizefirst != $sizesecond) {
- return -1;
- }
-
for(1 .. $sizefirst) {
my $index = $_ - 1;
if($firstref->[$index] ne $secondref->[$index]) {