Patch 17 / 50: code cleanup for dstca

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



#Applies against: 2.6.17
#Signed-off-by: Uwe Bugla <uwe.bugla@xxxxxx>
#Changes: fix type and / or tab errors, wipes out uncommented material
--- a/drivers/media/dvb/bt8xx/dst_ca.c	2006-05-27 14:03:00
+++ b/drivers/media/dvb/bt8xx/dst_ca.c	2006-05-27 18:37:00
@@ -53,18 +53,12 @@
 static unsigned int verbose = 5;
 module_param(verbose, int, 0644);
 MODULE_PARM_DESC(verbose, "verbose startup messages, default is 1 (yes)");
-
-/*	Need some more work	*/
 static int ca_set_slot_descr(void)
 {
-	/*	We could make this more graceful ?	*/
 	return -EOPNOTSUPP;
 }
-
-/*	Need some more work	*/
 static int ca_set_pid(void)
 {
-	/*	We could make this more graceful ?	*/
 	return -EOPNOTSUPP;
 }
 
@@ -113,7 +107,7 @@
 	mutex_unlock(&state->dst_mutex);
 	return 0;
 
-error:
+ error:
 	mutex_unlock(&state->dst_mutex);
 	return -EIO;
 }
@@ -169,9 +163,6 @@
 		return -1;
 	}
 	dprintk(verbose, DST_CA_NOTICE, 1, " -->dst_put_ci SUCCESS !");
-
-	/*	Will implement the rest soon		*/
-
 	dprintk(verbose, DST_CA_INFO, 1, " Slot cap = [%d]", slot_cap[7]);
 	dprintk(verbose, DST_CA_INFO, 0, "===================================\n");
 	for (i = 0; i < 8; i++)
@@ -188,8 +179,6 @@
 
 	return 0;
 }
-
-/*	Need some more work	*/
 static int ca_get_slot_descr(struct dst_state *state, struct ca_msg *p_ca_message, void __user *arg)
 {
 	return -EOPNOTSUPP;
@@ -209,9 +198,6 @@
 		return -1;
 	}
 	dprintk(verbose, DST_CA_INFO, 1, " -->dst_put_ci SUCCESS !");
-
-	/*	Will implement the rest soon		*/
-
 	dprintk(verbose, DST_CA_INFO, 1, " Slot info = [%d]", slot_info[3]);
 	dprintk(verbose, DST_CA_INFO, 0, "===================================\n");
 	for (i = 0; i < 8; i++)
@@ -364,19 +350,14 @@
 static int dst_check_ca_pmt(struct dst_state *state, struct ca_msg *p_ca_message, struct ca_msg *hw_buffer)
 {
 	int ca_pmt_reply_test = 0;
-
-	/*	Do test board			*/
-	/*	Not there yet but soon		*/
-
 	/*	CA PMT Reply capable		*/
 	if (ca_pmt_reply_test) {
 		if ((ca_set_pmt(state, p_ca_message, hw_buffer, 1, GET_REPLY)) < 0) {
 			dprintk(verbose, DST_CA_ERROR, 1, " ca_set_pmt.. failed !");
 			return -1;
 		}
 
 	/*	Process CA PMT Reply		*/
-	/*	will implement soon		*/
 		dprintk(verbose, DST_CA_ERROR, 1, " Not there yet");
 	}
 	/*	CA PMT Reply not capable	*/

-- 


"Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail

_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux