mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] compiler warning fix in aci.c
@ 2001-05-29 19:28 Anuradha Ratnaweera
  2001-05-30  5:02 ` Anuradha Ratnaweera
  2001-05-30  9:37 ` Robert Siemer
  0 siblings, 2 replies; 5+ messages in thread
From: Anuradha Ratnaweera @ 2001-05-29 19:28 UTC (permalink / raw)
  To: Robert Siemer; +Cc: Alan Cox, Linux Kernel


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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-05-30 15:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-29 19:28 [PATCH] compiler warning fix in aci.c Anuradha Ratnaweera
2001-05-30  5:02 ` Anuradha Ratnaweera
2001-05-30  9:37 ` Robert Siemer
2001-05-30 11:23   ` Anuradha Ratnaweera
2001-05-30 15:10   ` Robert Siemer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®