lkml.org 
[lkml]   [2012]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH/TRIVIAL] blackfin: time-ts: Remove duplicate assignment
On Tue, 18 Dec 2012, Stephen Boyd wrote:

> It seems that this assignment is done twice in a row. Remove the
> duplicate assignment.
>
> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
> Cc: Steven Miao <realmz6@gmail.com>
> Cc: trivial@kernel.org
> ---
>
> Noticed while grepping for broadcast users.
>
> arch/blackfin/kernel/time-ts.c | 6 ------
> 1 file changed, 6 deletions(-)
>
> diff --git a/arch/blackfin/kernel/time-ts.c b/arch/blackfin/kernel/time-ts.c
> index f608f02..cb0a484 100644
> --- a/arch/blackfin/kernel/time-ts.c
> +++ b/arch/blackfin/kernel/time-ts.c
> @@ -329,12 +329,6 @@ void bfin_coretmr_clockevent_init(void)
> evt->broadcast = smp_timer_broadcast;
> #endif
>
> -
> -#ifdef CONFIG_SMP
> - evt->broadcast = smp_timer_broadcast;
> -#endif
> -
> -
> evt->name = "bfin_core_timer";
> evt->rating = 350;
> evt->irq = -1;
>

Looks good to me.

Feel free to add
Reviewed-by: Jesper Juhl <jj@chaosbits.net>
if you like.

--
Jesper Juhl <jj@chaosbits.net> http://www.chaosbits.net/
Don't top-post http://www.catb.org/jargon/html/T/top-post.html
Plain text mails only, please.



\
 
 \ /
  Last update: 2012-12-19 02:01    [W:0.045 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site