Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1732782
| From | Chris Wilson <chris@chris-wilson.co.uk> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] dma-buf: remove redundant initialization of sg_table |
| Date | 2017-09-15 10:50 +0200 |
| Message-ID | <upUtX-mr-7@gated-at.bofh.it> (permalink) |
| References | <upLqG-2Uj-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Quoting Colin King (2017-09-15 00:05:16) > From: Colin Ian King <colin.king@canonical.com> > > sg_table is being initialized and is never read before it is updated > again later on, hence making the initialization redundant. Remove > the initialization. > > Detected by clang scan-build: > "warning: Value stored to 'sg_table' during its initialization is > never read" > > Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> -Chris
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] dma-buf: remove redundant initialization of sg_table Colin King <colin.king@canonical.com> - 2017-09-15 01:10 +0200 Re: [PATCH] dma-buf: remove redundant initialization of sg_table Chris Wilson <chris@chris-wilson.co.uk> - 2017-09-15 10:50 +0200
csiph-web