[PATCH 2.4.21-bk1] arch/i386/kernel/dmi_scan.c compile warning fix

Michael Buesch (fsdeveloper@yahoo.de)
Sat, 5 Jul 2003 20:11:51 +0200


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

fixes "Warning: unused variable `data'"
compiletime warning.

- --- arch/i386/kernel/dmi_scan.c.orig 2003-07-05 19:09:43.000000000 +0200
+++ arch/i386/kernel/dmi_scan.c 2003-07-05 20:09:09.000000000 +0200
@@ -941,8 +941,6 @@

static void __init dmi_decode(struct dmi_header *dm)
{
- - u8 *data = (u8 *)dm;
- -
switch(dm->type)
{
case 0:

- --
Regards Michael Buesch
http://www.8ung.at/tuxsoft
20:09:15 up 1:12, 3 users, load average: 1.03, 1.14, 1.16

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/BxTnoxoigfggmSgRAknWAJwKwF95RPkrYHVQnc3m4CQfEhufogCcCznd
hzXhsGYcyzQXwXML/a77a4w=
=6cUu
-----END PGP SIGNATURE-----

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/