From 2f2920cb9c63933d8e23bf1371dc975d4ea42589 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 25 Jan 2016 09:53:01 +0100 Subject: simplify detect_devices::dmi_probe --- perl-install/detect_devices.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/detect_devices.pm') diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index 2b3ba711b..ffd7de214 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -1154,7 +1154,7 @@ Cache the result of c::dmi_probe() (aka C) and return the list of ite sub dmi_probe() { state $dmi_probe; if (arch() !~ /86/) { - return (); + return; } $dmi_probe ||= $> ? [] : [ c::dmi_probe() ]; @$dmi_probe; -- cgit v1.2.1