Skip to contentSkip to conversation

bttv-cards.c: #if 0 function bttv_reset_audio (fwd)

PATCH In review Adrian Bunk 2 participants 2 messages Jan 8, 2005 – Jan 10, 2005 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bttv-cards.c: #if 0 function bttv_reset_audio (fwd)

The patch forwarded below still applies and compiles against 2.6.10-mm2.

Please apply.

----- Forwarded message from Adrian Bunk <[email protected]> -----

Date: Thu, 16 Dec 2004 23:18:05 +0100
From: Adrian Bunk <[email protected]>
To: Gerd Knorr <[email protected]>
Cc: [email protected], [email protected]
Subject: [2.6 patch] bttv-cards.c: #if 0 function bttv_reset_audio

The function bttv_reset_audio in drivers/media/video/bttv-cards.c is completely unused.

drivers/media/video/bttv-cards.c renamed from drivers/media/video/bttv-cards.c.old +2 -1
@@ -2498,7 +2498,7 @@
 }
 
 /* ----------------------------------------------------------------------- */
-
+#if 0
 void bttv_reset_audio(struct bttv *btv)
 {
 	/*
@@ -2519,6 +2519,7 @@
 	udelay(10);
 	btwrite(     0, 0x058);
 }
+#endif  /*  0  */
 
 /* initialization part one -- before registering i2c bus */
 void __devinit bttv_init_card1(struct bttv *btv)

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

----- End forwarded message -----

#1 lore raw
Quoted 1 line · Adrian Bunk

The patch forwarded below still applies and compiles against 2.6.10-mm2.

And it's still wrong, bttv_reset_audio() is not superfluous.

Quoted 1 line

Please apply.

No.

Gerd