[PATCH] compiler warning fix in aci.c

Anuradha Ratnaweera (anuradha@gnu.org)
Wed, 30 May 2001 01:28:39 +0600 (LKT)


Following patch fixes a compiler warning in aci.c.

Regards,

Anuradha

----------------------------------
http://www.bee.lk/people/anuradha/

diff -rua linux-2.4.5/drivers/sound/aci.c linux/drivers/sound/aci.c
--- linux-2.4.5/drivers/sound/aci.c Tue May 29 23:42:11 2001
+++ linux/drivers/sound/aci.c Wed May 30 01:21:14 2001
@@ -95,18 +95,6 @@
MODULE_PARM_DESC(wss,"change between ACI/WSS-mixer; use 0 and 1 - untested"
" default: do nothing; for PCM1-pro only");

-static void print_bits(unsigned char c)
-{
- int j;
- printk(KERN_DEBUG "aci: ");
-
- for (j=7; j>=0; j--) {
- printk(KERN_DEBUG "%d", (c >> j) & 0x1);
- }
-
- printk(KERN_DEBUG "\n");
-}
-
/*
* This busy wait code normally requires less than 15 loops and
* practically always less than 100 loops on my i486/DX2 66 MHz.

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