lkml.org 
[lkml]   [2013]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH] misc: mic: dead code removal and minor cleanup
Date
> -----Original Message-----
> From: Michael Opdenacker [mailto:michael.opdenacker@free-electrons.com]
> Sent: Friday, November 08, 2013 8:14 PM
> Subject: [PATCH] misc: mic: dead code removal and minor cleanup
>
> This removes the below test in drivers/misc/mic/card/mic_virtio.c:
>
> if (!retry) {
> ...
> }
>
> This is dead code because the "retry" variable was set to 100
> earlier in the same function.
>
> This also removes dev_dbg statements to print the value of this variable.
> That's not interesting to print the value of a variable which value is
> always the same.

Hi Michael,

Thanks for your mail. However, the dead code has resulted from
another bug in the code, we should be decrementing retry instead
of i. The same bug occurs in several other places in the code too.

So I would say don't apply this patch. We are planning a series of
patches to fix other issues in the code when the 3.13 merge window
closes and will include this fix too and include you in "Reported-by".

Thanks,
Ashutosh



\
 
 \ /
  Last update: 2013-11-09 06:21    [W:0.044 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site