Skip to content

Commit e5b5f8b

Browse files
committed
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: Xu Yilun <yilun.xu@linux.intel.com> Closes: http://lore.kernel.org/aRFfk14DJWEVhC/R@yilunxu-OptiPlex-7050 Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com> Link: https://patch.msgid.link/20251113021446.436830-3-dan.j.williams@intel.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
1 parent 110c155 commit e5b5f8b

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

include/linux/pci-tsm.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,5 @@ static inline int pci_tsm_register(struct tsm_dev *tsm_dev)
147147
static inline void pci_tsm_unregister(struct tsm_dev *tsm_dev)
148148
{
149149
}
150-
static inline int pci_tsm_doe_transfer(struct pci_dev *pdev, u8 type,
151-
const void *req, size_t req_sz,
152-
void *resp, size_t resp_sz)
153-
{
154-
return -ENXIO;
155-
}
156150
#endif
157151
#endif /*__PCI_TSM_H */

0 commit comments

Comments
 (0)