4bf9572291
https://wiki.postmarketos.org/wiki/LG_Optimus_4X_HD_(lg-p880) [ci:skip-build] Already built on CI in MR
17 lines
411 B
Diff
17 lines
411 B
Diff
From: Peter Foley <pefoley2@verizon.net>
|
|
|
|
Fix this warning by removing a unneeded use of defined
|
|
|
|
diff --git a/kernel/timeconst.pl b/kernel/timeconst.pl
|
|
index eb51d76..0461239 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);
|