public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: "Ahmed S. Darwish" <darwish.07@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>,
	Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH x86] i8259A_32: Remove redundant irq_desc[NR_IRQ] initialization
Date: Mon, 18 Feb 2008 03:35:42 +0100	[thread overview]
Message-ID: <20080218023542.GA30201@elte.hu> (raw)
In-Reply-To: <20080217225954.GA3020@ubuntu>


* Ahmed S. Darwish <darwish.07@gmail.com> wrote:

> Remove redundant irq_desc[NR_IRQS] element initialization in 
> init_ISA_irqs(). irq_desc[NR_IRQS] is already statically initialized 
> with the same values in kernel/irq/handle.c .

nice catch - applied. This also saves a few bytes of image space:

   text    data     bss     dec     hex filename
   1389     356      14    1759     6df i8259_32.o.before
   1325     356      14    1695     69f i8259_32.o.after

	Ingo

      reply	other threads:[~2008-02-18  2:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-17 22:59 [PATCH x86] i8259A_32: Remove redundant irq_desc[NR_IRQ] initialization Ahmed S. Darwish
2008-02-18  2:35 ` Ingo Molnar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080218023542.GA30201@elte.hu \
    --to=mingo@elte.hu \
    --cc=darwish.07@gmail.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox