diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2005-06-30 01:15:53 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-06-30 01:15:53 -0400 |
commit | 74889802a1585af4e1652f0cb853ac22a65816a4 (patch) | |
tree | 4edf4b33345b2a986a52d67d1b47137f399eef8c /arch/ppc64/kernel/mf.c | |
parent | 937b31b114b5540f456ce1566aae67e02db41f2c (diff) |
[PATCH] ppc64: Don't count number of events processed for caller
Currently we count the number of lpevents processed in 3 seperate places.
One of these counters is never read, so just remove it. This means
hvlpevent_queue_process() no longer needs to return the number of events
processed.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc64/kernel/mf.c')
-rw-r--r-- | arch/ppc64/kernel/mf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/ppc64/kernel/mf.c b/arch/ppc64/kernel/mf.c index 609bf1bda7b8..ef4a338ebd01 100644 --- a/arch/ppc64/kernel/mf.c +++ b/arch/ppc64/kernel/mf.c | |||
@@ -801,9 +801,8 @@ int mf_get_boot_rtc(struct rtc_time *tm) | |||
801 | return rc; | 801 | return rc; |
802 | /* We need to poll here as we are not yet taking interrupts */ | 802 | /* We need to poll here as we are not yet taking interrupts */ |
803 | while (rtc_data.busy) { | 803 | while (rtc_data.busy) { |
804 | extern unsigned long lpevent_count; | ||
805 | if (hvlpevent_is_pending()) | 804 | if (hvlpevent_is_pending()) |
806 | lpevent_count += process_hvlpevents(NULL); | 805 | process_hvlpevents(NULL); |
807 | } | 806 | } |
808 | return rtc_set_tm(rtc_data.rc, rtc_data.ce_msg.ce_msg, tm); | 807 | return rtc_set_tm(rtc_data.rc, rtc_data.ce_msg.ce_msg, tm); |
809 | } | 808 | } |