Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1431884
| From | David Binderman <linuxdev.baldrick@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c:1812: possible pointless variable ? |
| Date | 2016-06-27 12:10 +0200 |
| Message-ID | <rOBEl-7gi-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hello there,
linux-4.7-rc5/drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c:1812]:
(style) Variable 'stretch_amount2' is assigned a value that is never
used.
Source code is
else if (stretch_amount == 3 || stretch_amount == 4)
stretch_amount2 = 1;
Suggest either use the variable in some way, or delete it.
Regards
David Binderman
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c:1812: possible pointless variable ? David Binderman <linuxdev.baldrick@gmail.com> - 2016-06-27 12:10 +0200 [PATCH] drivers: gpu: drm: amd: powerplay: hwmgr: Remove unused variable Matthias Beyer <mail@beyermatthias.de> - 2016-06-30 18:50 +0200 [PATCH] Remove unused variable Matthias Beyer <mail@beyermatthias.de> - 2016-06-30 18:50 +0200
csiph-web