public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c:1812: possible pointless variable ?
@ 2016-06-27 10:00 David Binderman
  2016-06-30 16:38 ` [PATCH] Remove unused variable Matthias Beyer
  2016-06-30 16:38 ` [PATCH] drivers: gpu: drm: amd: powerplay: hwmgr: " Matthias Beyer
  0 siblings, 2 replies; 5+ messages in thread
From: David Binderman @ 2016-06-27 10:00 UTC (permalink / raw)
  To: alexander.deucher, christian.koenig, David Airlie, dri-devel,
	dcb314, Linux Kernel Mailing List

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-07-15 15:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-27 10:00 drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c:1812: possible pointless variable ? David Binderman
2016-06-30 16:38 ` [PATCH] Remove unused variable Matthias Beyer
2016-06-30 16:38 ` [PATCH] drivers: gpu: drm: amd: powerplay: hwmgr: " Matthias Beyer
     [not found]   ` <SN1PR12MB067228EF741040E0D92DB22BFB390@SN1PR12MB0672.namprd12.prod.outlook.com>
2016-07-14 17:22     ` Matthias Beyer
2016-07-15 15:46       ` Alex Deucher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox