[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-id: <1353269117-39917-1-git-send-email-pefoley2@verizon.net>
Date: Sun, 18 Nov 2012 15:05:13 -0500
From: pefoley2@...izon.net
To: linux-kernel@...r.kernel.org, linux-kbuild@...r.kernel.org,
mmarek@...e.cz
Cc: Peter Foley <pefoley2@...izon.net>
Subject: [PATCH 1/5] kbuild: remove deprecated use of defined in timeconst.pl
From: Peter Foley <pefoley2@...izon.net>
Fix this warning by removing a unneeded use of defined
TIMEC kernel/timeconst.h
defined(@array) is deprecated at kernel/timeconst.pl line 373.
(Maybe you should just omit the defined()?)
Signed-off-by: Peter Foley <pefoley2@...izon.net>
---
kernel/timeconst.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
--
1.8.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists