提交 6573dd75 编写于 作者: A Andreas Oberritter 提交者: Linus Torvalds

[PATCH] dvb: pluto2: Removed unavoidable error message and related code

Removed unavoidable error message and related code.
Signed-off-by: NAndreas Oberritter <obi@linuxtv.org>
Signed-off-by: NMichael Krufky <mkrufky@linuxtv.org>
Cc: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 634623d3
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册