diff options
| author | Brian Norris <[email protected]> | 2013-10-11 10:37:38 -0700 |
|---|---|---|
| committer | Anatolij Gustschin <[email protected]> | 2013-10-30 22:56:10 +0100 |
| commit | 7e198197ec878c720af4dc35c49c0c6a99b83f9f (patch) | |
| tree | 06b48adb9577990574936d07c6a0f94333fbfd82 /drivers/clocksource/qcom-timer.c | |
| parent | 2bf75084f6d9f9a91ba6e30a501ff070d8a1acf6 (diff) | |
powerpc/mpc512x: remove unnecessary #if
Several functions are only ever referenced locally, so make them static.
Of those functions, many of them are protected by an #if. However, the
code which can compile fine in either case.
Now that (1) the unneeded code is marked 'static' and (2) the code is
only used under a C 'if (IS_ENABLED(CONFIG_FB_FSL_DIU))', the compiler
can automatically remove the unneeded code, and we don't need the #if or
the empty stub functions.
Signed-off-by: Brian Norris <[email protected]>
Signed-off-by: Anatolij Gustschin <[email protected]>
Diffstat (limited to 'drivers/clocksource/qcom-timer.c')
0 files changed, 0 insertions, 0 deletions