Commit ccfc439
drm/radeon/r600: Fix variables that are not used after assignment
err was not used after being assigned -EINVAL and was given a new value,
so here add goto to handle the error case.
Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>1 parent 1f7cfaa commit ccfc439
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2569 | 2569 | | |
2570 | 2570 | | |
2571 | 2571 | | |
| 2572 | + | |
2572 | 2573 | | |
2573 | 2574 | | |
2574 | 2575 | | |
| |||
2579 | 2580 | | |
2580 | 2581 | | |
2581 | 2582 | | |
| 2583 | + | |
2582 | 2584 | | |
2583 | 2585 | | |
2584 | 2586 | | |
| |||
0 commit comments