[linux-dvb] Patch 15 / 50: code cleanup for dmxdev

Uwe Bugla uwe.bugla at gmx.de
Fri Jun 23 16:49:49 CEST 2006


#Applies against: 2.6.17
#Signed-off-by: Uwe Bugla <uwe.bugla at gmx.de>
#Changes: wipe out uncommented material
--- a/drivers/media/dvb/dvb-core/dmxdev.c	2006-05-27 14:03:00
+++ b/drivers/media/dvb/dvb-core/dmxdev.c	2006-05-28 14:00:00
@@ -228,12 +228,9 @@
 	struct dvb_device *dvbdev = file->private_data;
 	struct dmxdev *dmxdev = dvbdev->priv;
 	int ret;
-
-	//mutex_lock(&dmxdev->mutex);
 	ret = dvb_dmxdev_buffer_read(&dmxdev->dvr_buffer,
 				     file->f_flags & O_NONBLOCK,
 				     buf, count, ppos);
-	//mutex_unlock(&dmxdev->mutex);
 	return ret;
 }
 

-- 


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



More information about the linux-dvb mailing list