diff options
| author | Lee Jones <lee.jones@linaro.org> | 2020-11-13 00:06:52 -0500 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2020-11-13 00:09:56 -0500 |
| commit | 92378a4b54c1a66b08da2cff3db1b9906c41f709 (patch) | |
| tree | 649dcedb999bd907c6c479a92d3b9e1d16709deb /tools/perf/scripts/python | |
| parent | d706d409d9848762bd89781b8cbb5d6b02413f5f (diff) | |
| download | linux-92378a4b54c1a66b08da2cff3db1b9906c41f709.tar.gz linux-92378a4b54c1a66b08da2cff3db1b9906c41f709.zip | |
drm/radeon/radeon_ttm: Place declaration of 'rdev' in same clause as its use
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/radeon/radeon_ttm.c: In function ‘radeon_ttm_tt_create’:
drivers/gpu/drm/radeon/radeon_ttm.c:611:24: warning: variable ‘rdev’ set but not used [-Wunused-but-set-variable]
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Jerome Glisse <glisse@freedesktop.org>
Cc: amd-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
