pmaports/device/testing/linux-lg-p880/0000-patch.patch
2021-09-29 13:57:21 +03:00

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);