Commit e5b5f8b7 authored by Dan Williams's avatar Dan Williams
Browse files

PCI/TSM: Drop stub for pci_tsm_doe_transfer()



Just like pci_tsm_pf0_{con,de}structor(), in the CONFIG_PCI_TSM=n case there
should be no callers of pci_tsm_doe_transfer().

Reported-by: default avatarXu Yilun <yilun.xu@linux.intel.com>
Closes: http://lore.kernel.org/aRFfk14DJWEVhC/R@yilunxu-OptiPlex-7050


Reviewed-by: default avatarJonathan Cameron <jonathan.cameron@huawei.com>
Link: https://patch.msgid.link/20251113021446.436830-3-dan.j.williams@intel.com


Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 110c155e
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -147,11 +147,5 @@ static inline int pci_tsm_register(struct tsm_dev *tsm_dev)
static inline void pci_tsm_unregister(struct tsm_dev *tsm_dev)
{
}
static inline int pci_tsm_doe_transfer(struct pci_dev *pdev, u8 type,
				       const void *req, size_t req_sz,
				       void *resp, size_t resp_sz)
{
	return -ENXIO;
}
#endif
#endif /*__PCI_TSM_H */