2003-07-05 19:23:55

by Michael Buesch

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

-----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-----