Re: [PATCH] uvcvideo: correct kernel version reference
On 07/30/2011 03:36 PM, Laurent Pinchart wrote: Hi Greg, Thanks for the patch. On Saturday 30 July 2011 17:47:30 Greg Dietsche wrote: change from v2.6.42 to v3.2 This patch would be queued for v3.2. As the code it fixes will go away at the same time, it would be pretty pointless to apply it :-) Thanks for warning me though. you're welcome - I thought the merge window was still open for 3.1 ... so that's why I sent it in. Greg -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] uvcvideo: correct kernel version reference
On 07/30/2011 04:34 PM, Laurent Pinchart wrote: Hi Greg, On Saturday 30 July 2011 23:31:16 Greg Dietsche wrote: On 07/30/2011 03:36 PM, Laurent Pinchart wrote: Hi Greg, Thanks for the patch. On Saturday 30 July 2011 17:47:30 Greg Dietsche wrote: change from v2.6.42 to v3.2 This patch would be queued for v3.2. As the code it fixes will go away at the same time, it would be pretty pointless to apply it :-) Thanks for warning me though. you're welcome - I thought the merge window was still open for 3.1 ... so that's why I sent it in. Linus' merge window is still open, but this will have to go through Mauro's tree, and it won't make it on time. Ah, that makes sense :) Anyway it is very trivial... thanks for the explanation! Greg -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH] dvb: remove unnecessary code
remove unnecessary code that matches this coccinelle pattern if (...) return ret; return ret; Signed-off-by: Greg Dietsche gregory.diets...@cuw.edu --- drivers/media/dvb/frontends/cx24116.c |6 +- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/drivers/media/dvb/frontends/cx24116.c b/drivers/media/dvb/frontends/cx24116.c index 95c6465..ccd0525 100644 --- a/drivers/media/dvb/frontends/cx24116.c +++ b/drivers/media/dvb/frontends/cx24116.c @@ -1452,11 +1452,7 @@ tuned: /* Set/Reset B/W */ cmd.args[0x00] = CMD_BANDWIDTH; cmd.args[0x01] = 0x00; cmd.len = 0x02; - ret = cx24116_cmd_execute(fe, cmd); - if (ret != 0) - return ret; - - return ret; + return cx24116_cmd_execute(fe, cmd); } static int cx24116_tune(struct dvb_frontend *fe, struct dvb_frontend_parameters *params, -- 1.7.2.5 -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html