public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: "Chen, Kenneth W" <kenneth.w.chen@intel.com>
To: linux-ia64@vger.kernel.org
Subject: [patch] cleanup dig_irq_init
Date: Sun, 12 Mar 2006 19:10:00 +0000	[thread overview]
Message-ID: <200603121909.k2CJ9xg11359@unix-os.sc.intel.com> (raw)

dig_irq_init is equivalent to machvec_noop, no need to define
another empty function.


Signed-off-by: Ken Chen <kenneth.w.chen@intel.com>

---

Hack, I start to sense that I must be extremely bored and have
too much free time ....

Next target: machvec_setup() and machvec_timer_interrupt().
Q: How many empty function does one need to implement for linux kernel?
A: apparently many :-(



--- ./arch/ia64/dig/setup.c.orig	2006-03-12 11:52:28.953270185 -0800
+++ ./arch/ia64/dig/setup.c	2006-03-12 11:53:04.583152561 -0800
@@ -69,8 +69,3 @@ dig_setup (char **cmdline_p)
 	screen_info.orig_video_isVGA = 1;	/* XXX fake */
 	screen_info.orig_video_ega_bx = 3;	/* XXX fake */
 }
-
-void __init
-dig_irq_init (void)
-{
-}
--- ./include/asm-ia64/machvec_dig.h.orig	2006-03-12 11:51:07.238427436 -0800
+++ ./include/asm-ia64/machvec_dig.h	2006-03-12 11:58:19.316547143 -0800
@@ -2,7 +2,6 @@
 #define _ASM_IA64_MACHVEC_DIG_h
 
 extern ia64_mv_setup_t dig_setup;
-extern ia64_mv_irq_init_t dig_irq_init;
 
 /*
  * This stuff has dual use!
@@ -13,6 +12,5 @@ extern ia64_mv_irq_init_t dig_irq_init;
  */
 #define platform_name		"dig"
 #define platform_setup		dig_setup
-#define platform_irq_init	dig_irq_init
 
 #endif /* _ASM_IA64_MACHVEC_DIG_h */


                 reply	other threads:[~2006-03-12 19:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200603121909.k2CJ9xg11359@unix-os.sc.intel.com \
    --to=kenneth.w.chen@intel.com \
    --cc=linux-ia64@vger.kernel.org \
    /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