[RFC PATCH 2/2] irq: add irq_desc_initialize to remove some duplicated lines

Thomas Gleixner tglx at linutronix.de
Wed Jul 11 18:19:18 EDT 2012


On Wed, 20 Jun 2012, Dong Aisheng wrote:
> From: Dong Aisheng <dong.aisheng at linaro.org>
> 
> There're two copies of irq_desc initialization code, reform them into
> an irq_desc_initialize function to call.
> 
> Signed-off-by: Dong Aisheng <dong.aisheng at linaro.org>
> ---
>  kernel/irq/irqdesc.c |   51 +++++++++++++++++++++++++++----------------------
>  1 files changed, 28 insertions(+), 23 deletions(-)

We add more code by removing redundant copies?




More information about the linux-arm-kernel mailing list