ABACI reported the following bug by code static scanning: drivers/gpu/drm/i915/gvt/gtt.c:285:19: warning: unused function 'get_pt_type'. In the following kernel version: [+]kernel: http://kernel.source.codeaurora.cn/pub/scm/linux/kernel/git/next/linux-next.git [+]branch: next-20220912 [+]commit: 044b771be9c5de9d817dfafb829d2f049c71c3b4
submitted to upstream: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=04ec334e1a0381c3305da4d277cef9250769ca43