X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=drivers%2Fclocksource%2Fdummy_timer.c;h=776b6c86dcd54149dad1e6e799f922d2ce5c4c5f;hb=ff474e8ca8547d09cb82ebab56d4c96f9eea01ce;hp=31990600fcff3fc5bacb22f0d03a1e5cde1e2d4a;hpb=5e0f872c7d7e371fbdf09e864eddd24bddfda8fe;p=karo-tx-linux.git diff --git a/drivers/clocksource/dummy_timer.c b/drivers/clocksource/dummy_timer.c index 31990600fcff..776b6c86dcd5 100644 --- a/drivers/clocksource/dummy_timer.c +++ b/drivers/clocksource/dummy_timer.c @@ -16,15 +16,6 @@ static DEFINE_PER_CPU(struct clock_event_device, dummy_timer_evt); -static void dummy_timer_set_mode(enum clock_event_mode mode, - struct clock_event_device *evt) -{ - /* - * Core clockevents code will call this when exchanging timer devices. - * We don't need to do anything here. - */ -} - static void dummy_timer_setup(void) { int cpu = smp_processor_id(); @@ -35,7 +26,6 @@ static void dummy_timer_setup(void) CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_DUMMY; evt->rating = 100; - evt->set_mode = dummy_timer_set_mode; evt->cpumask = cpumask_of(cpu); clockevents_register_device(evt);