summaryrefslogtreecommitdiff
path: root/arch/metag/include
diff options
context:
space:
mode:
authorGeorge Spelvin <linux@horizon.com>2014-05-12 09:35:48 -0400
committerJohn Stultz <john.stultz@linaro.org>2014-05-12 11:01:08 -0700
commitea54bca3aab3468daf1c37d15047ee66bca8760d (patch)
treefeeba3d591aa46a375219cc16dd588884eb04cd5 /arch/metag/include
parentcdafb93feb3d0ae3131f631a10f70954c96cbef8 (diff)
ntp: Make is_error_status() use its argument
is_error_status() is an inline function always called with the global time_status as an argument, so there's zero functional difference with this change, but the non-CONFIG_NTP_PPS version uses the passed-in argument, while the CONFIG_NTP_PPS one ignores its argument and uses the global. Looks like is_error_status was refactored out, but someone forgot to change the logic to check the local argument value. Thus this patch makes it use the argument always; shorter variable names are good. Signed-off-by: George Spelvin <linux@horizon.com> [jstultz: Tweaked commit message] Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'arch/metag/include')
0 files changed, 0 insertions, 0 deletions