diff options
| author | Chen Gang <gang.chen@asianux.com> | 2013-11-01 07:07:48 -0400 |
|---|---|---|
| committer | Richard Kuo <rkuo@codeaurora.org> | 2014-04-04 19:19:59 -0400 |
| commit | 6f8ae9bc0628c9e039003a7d572a6f59c835b868 (patch) | |
| tree | 742d2841341a25b382aea73f0f1200086d8d795a /arch/hexagon/kernel | |
| parent | 455c6fdbd219161bd09b1165f11699d6d73de11c (diff) | |
hexagon: kernel: remove useless variables 'dn', 'r' and 'err' in time_init_deferred() in "time.c"
Remove them, since they are useless. The related warnings (with
allmodconfig for v4):
CC arch/hexagon/kernel/time.o
arch/hexagon/kernel/time.c: In function 'time_init_deferred':
arch/hexagon/kernel/time.c:196: warning: unused variable 'err'
arch/hexagon/kernel/time.c:195: warning: unused variable 'r'
arch/hexagon/kernel/time.c:194: warning: unused variable 'dn'
Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Diffstat (limited to 'arch/hexagon/kernel')
| -rw-r--r-- | arch/hexagon/kernel/time.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/hexagon/kernel/time.c b/arch/hexagon/kernel/time.c index 9903fad997f3..d0c4f5a04b7b 100644 --- a/arch/hexagon/kernel/time.c +++ b/arch/hexagon/kernel/time.c | |||
| @@ -191,9 +191,6 @@ void __init time_init_deferred(void) | |||
| 191 | { | 191 | { |
| 192 | struct resource *resource = NULL; | 192 | struct resource *resource = NULL; |
| 193 | struct clock_event_device *ce_dev = &hexagon_clockevent_dev; | 193 | struct clock_event_device *ce_dev = &hexagon_clockevent_dev; |
| 194 | struct device_node *dn; | ||
| 195 | struct resource r; | ||
| 196 | int err; | ||
| 197 | 194 | ||
| 198 | ce_dev->cpumask = cpu_all_mask; | 195 | ce_dev->cpumask = cpu_all_mask; |
| 199 | 196 | ||
