diff options
author | Peter Colberg <peter.colberg@intel.com> | 2024-04-15 19:59:37 -0400 |
---|---|---|
committer | Xu Yilun <yilun.xu@linux.intel.com> | 2024-04-23 15:36:33 +0800 |
commit | dbca8048b33c8e612d3bb7d314cfe002d9478daa (patch) | |
tree | a2b8dd68d1140bf153588f09a9810a3140e1403b /drivers/fpga/dfl-fme.h | |
parent | 7c2dafa60e7a74bd5fd584e35d3176a439495a16 (diff) |
fpga: dfl: remove unused member pdata from struct dfl_{afu,fme}
The member pdata in struct dfl_{afu,fme} is set in function
{afu,fme}_dev_init(), respectively, but never used.
Fixes: 857a26222ff7 ("fpga: dfl: afu: add afu sub feature support")
Fixes: 29de76240e86 ("fpga: dfl: fme: add partial reconfiguration sub feature support")
Signed-off-by: Peter Colberg <peter.colberg@intel.com>
Reviewed-by: Matthew Gerlach <matthew.gerlach@linux.intel.com>
Acked-by: Xu Yilun <yilun.xu@intel.com>
Link: https://lore.kernel.org/r/20240415235937.3121-1-peter.colberg@intel.com
Signed-off-by: Xu Yilun <yilun.xu@linux.intel.com>
Diffstat (limited to 'drivers/fpga/dfl-fme.h')
-rw-r--r-- | drivers/fpga/dfl-fme.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/fpga/dfl-fme.h b/drivers/fpga/dfl-fme.h index 4195dd68193e..a566dbc2b485 100644 --- a/drivers/fpga/dfl-fme.h +++ b/drivers/fpga/dfl-fme.h @@ -24,13 +24,11 @@ * @mgr: FME's FPGA manager platform device. * @region_list: linked list of FME's FPGA regions. * @bridge_list: linked list of FME's FPGA bridges. - * @pdata: fme platform device's pdata. */ struct dfl_fme { struct platform_device *mgr; struct list_head region_list; struct list_head bridge_list; - struct dfl_feature_platform_data *pdata; }; extern const struct dfl_feature_ops fme_pr_mgmt_ops; |