]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gem: Delete unused code
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 5 Jun 2020 20:03:57 +0000 (21:03 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 5 Jun 2020 20:46:31 +0000 (21:46 +0100)
commit2548daa7ab9023250de9549597124230ac5b22a6
tree9735fc911c1c5206605260c6b8fc4df0648b401a
parent033e215ea9986a9b096449c1db7331266cbe0748
drm/i915/gem: Delete unused code

Unused as of commit 958262d61bbb ("drm/i915/gem: Async GPU relocations
only"), but left behind.

>> drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:933:21: error: unused function 'unmask_page' [-Werror,-Wunused-function]
static inline void *unmask_page(unsigned long p)
^
>> drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:938:28: error: unused function 'unmask_flags' [-Werror,-Wunused-function]
static inline unsigned int unmask_flags(unsigned long p)
^
>> drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:945:33: error: unused function 'cache_to_ggtt' [-Werror,-Wunused-function]
static inline struct i915_ggtt *cache_to_ggtt(struct reloc_cache *cache)

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200605200357.13069-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c