pmaports/device/linux-asus-tf101/03-remove_deprecated_perl.patch
Denny Harijanto 1b353c020a
asus-tf101: USB Networking and Touch Screen Support (!197)
- Reverts few hacky commits that caused USB networking not to work
- Modified atmel drivers used by TF101 to work with libinput

[skip ci]: already built successfully in CI
2019-02-12 22:29:43 +01:00

13 lines
321 B
Diff

diff --git a/kernel/timeconst.pl b/kernel/timeconst.pl
index eb51d76e058..04612394c53 100644
--- a/kernel/timeconst.pl
+++ b/kernel/timeconst.pl
@@ -370,7 +370,7 @@ if ($hz eq '--can') {
}
@val = @{$canned_values{$hz}};
- if (!defined(@val)) {
+ if (!@val) {
@val = compute_values($hz);
}
output($hz, @val);