Message ID | 1353269117-39917-1-git-send-email-pefoley2@verizon.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 18.11.2012 21:05, pefoley2@verizon.net wrote: > From: Peter Foley <pefoley2@verizon.net> > > Fix this warning by removing a unneeded use of defined An identical fix for this is in the -mm tree already. Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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);