clocksource: Don't walk the clocksource list for empty override
authorBaolin Wang <baolin.wang@linaro.org>
Wed, 17 Jan 2018 06:01:28 +0000 (14:01 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 28 Feb 2018 13:04:52 +0000 (14:04 +0100)
commit7f852afe448c95691ead6b57bae5f37562d060b5
treec6a98558fa6517148c9eaf3bed6b0a6ba443baca
parent4a3928c6f8a53fa1aed28ccba227742486e8ddcb
clocksource: Don't walk the clocksource list for empty override

If the override clocksource name is empty there is no point in walking the
clocksource list for a match.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: arnd@arndb.de
Cc: sboyd@codeaurora.org
Cc: broonie@kernel.org
Cc: john.stultz@linaro.org
Link: https://lkml.kernel.org/r/069ce2a605546bcad6552968cff755f0a03f9f10.1516167691.git.baolin.wang@linaro.org
kernel/time/clocksource.c