summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/pluto2
diff options
context:
space:
mode:
authorAndreas Oberritter <devnull@localhost>2005-09-13 12:52:11 +0000
committerAndreas Oberritter <devnull@localhost>2005-09-13 12:52:11 +0000
commita34868d5bffe009f09ed962cd7978f2cb54ce6a9 (patch)
tree4a4259a2d45ac003ce83eb3987ca63f626535814 /linux/drivers/media/dvb/pluto2
parentf3274e301d06cae48ec11c231f636d9dd5b5d706 (diff)
downloadmediapointer-dvb-s2-a34868d5bffe009f09ed962cd7978f2cb54ce6a9.tar.gz
mediapointer-dvb-s2-a34868d5bffe009f09ed962cd7978f2cb54ce6a9.tar.bz2
Removed unavoidable error message and related code.
Signed-off-by: Andreas Oberritter <obi@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/pluto2')
-rw-r--r--linux/drivers/media/dvb/pluto2/pluto2.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/linux/drivers/media/dvb/pluto2/pluto2.c b/linux/drivers/media/dvb/pluto2/pluto2.c
index 706e0bcb5..18a8b5c2f 100644
--- a/linux/drivers/media/dvb/pluto2/pluto2.c
+++ b/linux/drivers/media/dvb/pluto2/pluto2.c
@@ -286,15 +286,10 @@ static void pluto_dma_end(struct pluto *pluto, unsigned int nbpackets)
* although one packet has been transfered.
*/
if ((nbpackets == 0) || (nbpackets > TS_DMA_PACKETS)) {
- unsigned int i = 0, valid;
+ unsigned int i = 0;
while (pluto->dma_buf[i] == 0x47)
i += 188;
- valid = i / 188;
- if (nbpackets != valid) {
- dev_err(&pluto->pdev->dev, "nbpackets=%u valid=%u\n",
- nbpackets, valid);
- nbpackets = valid;
- }
+ nbpackets = i / 188;
}
dvb_dmx_swfilter_packets(&pluto->demux, pluto->dma_buf, nbpackets);