mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 23:22:31 +02:00
drm/i915: Remove unused dpt_total_entries()
dpt_total_entries() is not used anywhere. Remove it. Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250717171353.23090-6-ville.syrjala@linux.intel.com
This commit is contained in:
parent
c6ab589fee
commit
a9298b3bfe
|
|
@ -33,8 +33,6 @@ i915_vm_to_dpt(struct i915_address_space *vm)
|
|||
return container_of(vm, struct i915_dpt, vm);
|
||||
}
|
||||
|
||||
#define dpt_total_entries(dpt) ((dpt)->vm.total >> PAGE_SHIFT)
|
||||
|
||||
static void gen8_set_pte(void __iomem *addr, gen8_pte_t pte)
|
||||
{
|
||||
writeq(pte, addr);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user