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)
commit8ad463acc78a591116eb64b5a8eec13c2486aed6
tree7514ff10a4d068ce34437881a42617af6fd9f808
parent7707f7227f096162c724cc55f5db1b83cb94c105
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