* [PATCH 07/37] dvb: pluto2: Removed unavoidable error message and related code
@ 2005-11-01 8:13 Michael Krufky
0 siblings, 0 replies; only message in thread
From: Michael Krufky @ 2005-11-01 8:13 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel, linux-dvb-maintainer
[-- Attachment #1: Type: text/plain, Size: 2 bytes --]
[-- Attachment #2: 2370.patch --]
[-- Type: text/x-patch, Size: 923 bytes --]
From: Andreas Oberritter <obi@linuxtv.org>
Removed unavoidable error message and related code.
Signed-off-by: Andreas Oberritter <obi@linuxtv.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
drivers/media/dvb/pluto2/pluto2.c | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
--- linux-2.6.14-git3.orig/drivers/media/dvb/pluto2/pluto2.c
+++ linux-2.6.14-git3/drivers/media/dvb/pluto2/pluto2.c
@@ -286,15 +286,10 @@
* 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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-11-01 8:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-01 8:13 [PATCH 07/37] dvb: pluto2: Removed unavoidable error message and related code Michael Krufky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox