Re: [PATCH][next] video: fbdev: atmel_lcdfb: remove redundant initialization to variable ret

From
Bartlomiej Zolnierkiewicz <hidden>
Date
2019-06-21 12:06:36
Also in
dri-devel, kernel-janitors, linux-fbdev, lkml
Reply to
Ludovic Desroches, 2019-06-12
On 6/12/19 4:13 PM, Ludovic Desroches wrote:
On Wed, Jun 12, 2019 at 09:55:30AM +0200, Nicolas Ferre - M43238 wrote:
quoted
On 11/06/2019 at 19:09, Colin King wrote:
quoted
External E-Mail


From: Colin Ian King <redacted>

Currently variable ret is being initialized with -ENOENT however that
value is never read and ret is being re-assigned later on. Hence this
assignment is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <redacted>
Indeed:
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com> 
Patch queued for v5.3, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (4 messages) 4 messages, 4 authors, last reply 2019-06-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help