Commit 20faebca authored by Paul Mackerras's avatar Paul Mackerras

PPC32: Eliminate duplicate variable declarations in arch/ppc/kernel/time.c

parent 04c3ba15
...@@ -244,7 +244,7 @@ int do_settimeofday(struct timespec *tv) ...@@ -244,7 +244,7 @@ int do_settimeofday(struct timespec *tv)
time_t wtm_sec, new_sec = tv->tv_sec; time_t wtm_sec, new_sec = tv->tv_sec;
long wtm_nsec, new_nsec = tv->tv_nsec; long wtm_nsec, new_nsec = tv->tv_nsec;
unsigned long flags; unsigned long flags;
int tb_delta, new_nsec, new_sec; int tb_delta;
if ((unsigned long)tv->tv_nsec >= NSEC_PER_SEC) if ((unsigned long)tv->tv_nsec >= NSEC_PER_SEC)
return -EINVAL; return -EINVAL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment