pmaports/device/testing/linux-lg-p880/0000-patch.patch

18 lines
411 B
Diff
Raw Normal View History

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