mirror of
https://github.com/torvalds/linux.git
synced 2024-12-03 17:41:22 +00:00
[PATCH] dvb: pluto2: Removed unavoidable error message and related code
Removed unavoidable error message and related code. Signed-off-by: Andreas Oberritter <obi@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Cc: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
634623d3ba
commit
6573dd752d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user