msm: timer: fix missing return value
authorDavid Brown <davidb@codeaurora.org>
Wed, 30 Mar 2011 18:26:57 +0000 (11:26 -0700)
committerDavid Brown <davidb@codeaurora.org>
Thu, 31 Mar 2011 20:15:40 +0000 (13:15 -0700)
commit893b66c39da812e7dd0d7b32aa0633e5d90d950c
tree26c76f94f1918c67fc2bcbe96dbdd39974d127f4
parent62f0988ee5280ac03f787e3abd70bd91366e3778
msm: timer: fix missing return value

Change af90f10d38 "ARM: 6759/1: smp: Select local timers vs broadcast
timer support runtime" missed a return statement, causing a compile
warning:

  arch/arm/mach-msm/timer.c:272: warning: 'return' with no value, in
  function returning non-void

Trivially return 0 for success when running on cpu 0 (to match the
comment and previous behavior).

Signed-off-by: David Brown <davidb@codeaurora.org>
arch/arm/mach-msm/timer.c