Messages in this thread | | | Date | Thu, 12 Jul 2012 00:19:18 +0200 (CEST) | From | Thomas Gleixner <> | Subject | Re: [RFC PATCH 2/2] irq: add irq_desc_initialize to remove some duplicated lines |
| |
On Wed, 20 Jun 2012, Dong Aisheng wrote: > From: Dong Aisheng <dong.aisheng@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@linaro.org> > --- > kernel/irq/irqdesc.c | 51 +++++++++++++++++++++++++++---------------------- > 1 files changed, 28 insertions(+), 23 deletions(-)
We add more code by removing redundant copies?
| |