Skip to content

Commit

Permalink
Fix this warning by removing a unneeded use of defined
Browse files Browse the repository at this point in the history
TIMEC   kernel/timeconst.h
defined(@array) is deprecated at kernel/timeconst.pl line 373.
  (Maybe you should just omit the defined()?)
http://linux-kernel.2935.n7.nabble.com/PATCH-1-5-kbuild-remove-deprecated-use-of-defined-in-timeconst-pl-td556009.html
  • Loading branch information
desalesouche committed Jun 15, 2014
1 parent c398cdf commit 158c9bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/timeconst.pl
Expand Up @@ -370,7 +370,7 @@ (@)
}

@val = @{$canned_values{$hz}};
if (!defined(@val)) {
if (!@val) {
@val = compute_values($hz);
}
output($hz, @val);
Expand Down

0 comments on commit 158c9bf

Please sign in to comment.