]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/radeon_device: remove unused function
authorBaoyou Xie <baoyou.xie@linaro.org>
Thu, 15 Sep 2016 14:13:51 +0000 (22:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 16 Sep 2016 19:53:04 +0000 (15:53 -0400)
commit0aa3e2d0cbff4c42997d75f35bb660fd382544e6
tree4d645ac36842245a3ad912f69108d19e33519e60
parent9f31a0b0328cb70b9ea1058579710fb1439ee332
drm/radeon/radeon_device: remove unused function

We get 2 warnings when building kernel with W=1:
drivers/gpu/drm/radeon/radeon_device.c:1961:5: warning: no previous prototype for 'radeon_debugfs_init' [-Wmissing-prototypes]
drivers/gpu/drm/radeon/radeon_device.c:1966:6: warning: no previous prototype for 'radeon_debugfs_cleanup' [-Wmissing-prototypes]

In fact, these functions are dummy, but can be removed,
so this patch removes them.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_device.c
drivers/gpu/drm/radeon/radeon_drv.c