Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1679909
| From | Juergen Gross <jgross@suse.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] x86: xen: remove unnecessary variable in xen_foreach_remap_area() |
| Date | 2017-07-03 13:30 +0200 |
| Message-ID | <tZ7Ie-Fp-7@gated-at.bofh.it> (permalink) |
| References | <tVEW6-7RD-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 24/06/17 00:01, Gustavo A. R. Silva wrote: > Remove unnecessary variable mfn in function xen_foreach_remap_area() and, > refactor the code. > > Variable mfn at line 518:mfn = xen_remap_buf.mfns[i]; > is only being used to store a value to be passed as > an argument to the xen_update_mem_tables() function. > This value can be passed directly, which makes variable > mfn unnecessary. Also, value assigned to variable mfn > at line 534:mfn = xen_remap_mfn; is never used. > > Addresses-Coverity-ID: 1260110 > Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Queued to xen/tip.git for-linus-4.13 Thanks, Juergen
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] x86: xen: remove unnecessary variable in xen_foreach_remap_area() "Gustavo A. R. Silva" <garsilva@embeddedor.com> - 2017-06-24 00:10 +0200 Re: [PATCH] x86: xen: remove unnecessary variable in xen_foreach_remap_area() Juergen Groß <jgross@suse.com> - 2017-06-26 14:00 +0200 Re: [PATCH] x86: xen: remove unnecessary variable in xen_foreach_remap_area() Juergen Gross <jgross@suse.com> - 2017-07-03 13:30 +0200
csiph-web