OSDN Git Service

drm/i915/gvt: Remove the unused function get_pt_type()
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Mon, 26 Sep 2022 06:40:43 +0000 (14:40 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 17 Nov 2022 06:07:09 +0000 (14:07 +0800)
commit04ec334e1a0381c3305da4d277cef9250769ca43
tree6e11337014845e4430a068344f071ba212295705
parenta105fa52dd0714850260610cec79cbec4f30b4bf
drm/i915/gvt: Remove the unused function get_pt_type()

The function get_pt_type is defined in the gtt.c file, but not
called elsewhere, so delete this unused function.

drivers/gpu/drm/i915/gvt/gtt.c:285:19: warning: unused function 'get_pt_type'.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2277
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20220926064044.53016-1-jiapeng.chong@linux.alibaba.com
Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/gtt.c