[patch] drm/radeon: remove some buggy dead code

2014-10-29 Thread Dan Carpenter
The calculation of "num_shader_engines" has a precedence bug because the right shift happens before the mask, but this variable is never used so we can just delete it. Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c index a31f1ca

[patch] drm/radeon: remove some buggy dead code

2014-10-29 Thread Alex Deucher
On Wed, Oct 29, 2014 at 11:47 AM, Dan Carpenter wrote: > The calculation of "num_shader_engines" has a precedence bug because > the right shift happens before the mask, but this variable is never used > so we can just delete it. > > Signed-off-by: Dan Carpenter Applied in preference to Joe Perch