iommu/vt-d: Remove unused function
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Mon, 16 Oct 2023 03:28:27 +0000 (11:28 +0800)
committerJoerg Roedel <jroedel@suse.de>
Mon, 16 Oct 2023 07:34:50 +0000 (09:34 +0200)
commitc61c255e114c52682546447ed44d3470b5708134
treecca39d646a314ce32e32a651eea50f774cbeb97b
parent6465e260f48790807eef06b583b38ca9789b6072
iommu/vt-d: Remove unused function

The function are defined in the pasid.c file, but not called
elsewhere, so delete the unused function.

drivers/iommu/intel/pasid.c:342:20: warning: unused function 'pasid_set_wpe'.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6185
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Link: https://lore.kernel.org/r/20230818091603.64800-1-jiapeng.chong@linux.alibaba.com
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel/pasid.c