Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1681031

Re: [PATCH] video: fbdev: aty: remove useless variable assignments in aty_var_to_crtc()

From Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Newsgroups linux.kernel
Subject Re: [PATCH] video: fbdev: aty: remove useless variable assignments in aty_var_to_crtc()
Date 2017-07-04 17:10 +0200
Message-ID <tZxCF-1Bv-1@gated-at.bofh.it> (permalink)
References <tZxCF-1Bv-3@gated-at.bofh.it> <tWKG5-8fK-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Monday, June 26, 2017 05:05:18 PM Gustavo A. R. Silva wrote:
> Value assigned to variable vdisplay at line 990 is overwritten
> at line 1039 before it can be used. Also, variable assignment
> at line 987 is the same as at line 1039. This makes such
> variable assignments useless.
> 
> Remove these variable assignments and the code related.
> 
> Addresses-Covertity-ID: 1226900
> Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>

Patch queued for 4.13, thanks.

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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] video: fbdev: aty: remove useless variable assignments  in aty_var_to_crtc() Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> - 2017-07-04 17:10 +0200

csiph-web