mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 15:18:19 +00:00
drm/radeon/cik: remove set but not used variables
The value of pipe_id and queue_id are not used under certain circumstances, so just delete. Signed-off-by: Tian Tao <tiantao6@hisilicon.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
951796f2f4
commit
f689f2be0c
1 changed files with 0 additions and 4 deletions
|
@ -7948,8 +7948,6 @@ int cik_irq_process(struct radeon_device *rdev)
|
|||
DRM_ERROR("Illegal register access in command stream\n");
|
||||
/* XXX check the bitfield order! */
|
||||
me_id = (ring_id & 0x60) >> 5;
|
||||
pipe_id = (ring_id & 0x18) >> 3;
|
||||
queue_id = (ring_id & 0x7) >> 0;
|
||||
switch (me_id) {
|
||||
case 0:
|
||||
/* This results in a full GPU reset, but all we need to do is soft
|
||||
|
@ -7971,8 +7969,6 @@ int cik_irq_process(struct radeon_device *rdev)
|
|||
DRM_ERROR("Illegal instruction in command stream\n");
|
||||
/* XXX check the bitfield order! */
|
||||
me_id = (ring_id & 0x60) >> 5;
|
||||
pipe_id = (ring_id & 0x18) >> 3;
|
||||
queue_id = (ring_id & 0x7) >> 0;
|
||||
switch (me_id) {
|
||||
case 0:
|
||||
/* This results in a full GPU reset, but all we need to do is soft
|
||||
|
|
Loading…
Reference in a new issue