]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vram-helper: remove unneeded #if defined/endif guards.
authorWambui Karuga <wambui.karugax@gmail.com>
Mon, 23 Mar 2020 11:28:02 +0000 (14:28 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 23 Mar 2020 14:56:59 +0000 (15:56 +0100)
commit738682103d31fe39e291d039d957e8e8adef65f1
tree7514ff10a4d068ce34437881a42617af6fd9f808
parent3cebd1ccf86be6e7f7ba49824df24b40886e0163
drm/vram-helper: remove unneeded #if defined/endif guards.

Remove unneeded #if/#endif guards for checking whether the
CONFIG_DEBUG_FS option is set or not. If the option is not set, the
compiler optimizes the functions making the guards
unnecessary.

Signed-off-by: Wambui Karuga <wambui.karugax@gmail.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200323112802.228214-1-wambui.karugax@gmail.com
drivers/gpu/drm/drm_gem_vram_helper.c