diff options
| author | Peter Colberg <[email protected]> | 2024-04-15 23:57:43 +0000 |
|---|---|---|
| committer | Xu Yilun <[email protected]> | 2024-04-23 07:36:33 +0000 |
| commit | 7c2dafa60e7a74bd5fd584e35d3176a439495a16 (patch) | |
| tree | 2f91bca60db369d62028443052fe67dd9965d097 /drivers/fpga/dfl.h | |
| parent | fpga: ice40-spi: Don't use "proxy" headers (diff) | |
| download | kernel-7c2dafa60e7a74bd5fd584e35d3176a439495a16.tar.gz kernel-7c2dafa60e7a74bd5fd584e35d3176a439495a16.zip | |
fpga: dfl: remove unused function is_dfl_feature_present()
The function is_dfl_feature_present() was added but never used.
Fixes: 5b57d02a2f94 ("fpga: dfl: add feature device infrastructure")
Signed-off-by: Peter Colberg <[email protected]>
Reviewed-by: Matthew Gerlach <[email protected]>
Acked-by: Xu Yilun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Xu Yilun <[email protected]>
Diffstat (limited to 'drivers/fpga/dfl.h')
| -rw-r--r-- | drivers/fpga/dfl.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/fpga/dfl.h b/drivers/fpga/dfl.h index 1d724a28f00a..5063d73b0d82 100644 --- a/drivers/fpga/dfl.h +++ b/drivers/fpga/dfl.h @@ -437,11 +437,6 @@ void __iomem *dfl_get_feature_ioaddr_by_id(struct device *dev, u16 id) return NULL; } -static inline bool is_dfl_feature_present(struct device *dev, u16 id) -{ - return !!dfl_get_feature_ioaddr_by_id(dev, id); -} - static inline struct device *dfl_fpga_pdata_to_parent(struct dfl_feature_platform_data *pdata) { |
