From: Adrian Bunk <bunk@stusta.de>
To: linux-kernel@vger.kernel.org
Subject: [2.6 patch] #if 0 dmi_name_in_vendors()
Date: Sat, 24 Mar 2007 14:06:44 +0100 [thread overview]
Message-ID: <20070324130644.GH752@stusta.de> (raw)
dmi_name_in_vendors() is no longer used.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
drivers/firmware/dmi_scan.c | 2 ++
include/linux/dmi.h | 2 --
2 files changed, 2 insertions(+), 2 deletions(-)
--- linux-2.6.21-rc4-mm1/include/linux/dmi.h.old 2007-03-23 23:22:41.000000000 +0100
+++ linux-2.6.21-rc4-mm1/include/linux/dmi.h 2007-03-23 23:22:48.000000000 +0100
@@ -69,7 +69,6 @@
struct dmi_device *from);
extern void dmi_scan_machine(void);
extern int dmi_get_year(int field);
-extern int dmi_name_in_vendors(char *str);
#else
@@ -78,7 +77,6 @@
static inline struct dmi_device * dmi_find_device(int type, const char *name,
struct dmi_device *from) { return NULL; }
static inline int dmi_get_year(int year) { return 0; }
-static inline int dmi_name_in_vendors(char *s) { return 0; }
#endif
--- linux-2.6.21-rc4-mm1/drivers/firmware/dmi_scan.c.old 2007-03-23 23:22:59.000000000 +0100
+++ linux-2.6.21-rc4-mm1/drivers/firmware/dmi_scan.c 2007-03-23 23:23:12.000000000 +0100
@@ -327,6 +327,7 @@
EXPORT_SYMBOL(dmi_get_system_info);
+#if 0
/**
* dmi_name_in_vendors - Check if string is anywhere in the DMI vendor information.
* @str: Case sensitive Name
@@ -345,6 +346,7 @@
return 0;
}
EXPORT_SYMBOL(dmi_name_in_vendors);
+#endif /* 0 */
/**
* dmi_find_device - find onboard device by type/name
reply other threads:[~2007-03-24 13:06 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=20070324130644.GH752@stusta.de \
--to=bunk@stusta.de \
--cc=linux-kernel@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