xtensa: clean up arch/xtensa/kernel/time.c
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 24 Jan 2019 23:09:21 +0000 (15:09 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Thu, 7 Feb 2019 20:16:49 +0000 (12:16 -0800)
commit74d69eaadd652de87dc3dd97303de83963524b54
tree96b54f324a4c088fbed64e5a759956d2159a75f1
parent815af8fff1d120f0c7ab04e7914270508984a04d
xtensa: clean up arch/xtensa/kernel/time.c

- move all constant assignments from local_timer_setup to the definition
  of ccount_timer to make it mostly statically initialized;
- drop local function declarations, reorder functions and variables that
  reference them.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/kernel/time.c