net: ipa: eliminate unneeded struct declarations
authorAlex Elder <elder@linaro.org>
Tue, 16 Apr 2024 23:10:16 +0000 (18:10 -0500)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 18 Apr 2024 11:01:05 +0000 (13:01 +0200)
As definitions in headers have been moved around, some of the
struct and enum declarations found in header files have become
no longer necessary and can be removed.  Remove these unneeded
declarations.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ipa/gsi.h
drivers/net/ipa/gsi_trans.h
drivers/net/ipa/ipa.h
drivers/net/ipa/ipa_cmd.h
drivers/net/ipa/ipa_power.h
drivers/net/ipa/ipa_sysfs.h
drivers/net/ipa/ipa_uc.h

index 3bf1a1cc972c2b2d30020c2d3a7076f29dbe7ffd..26cc3d368e1b8ecd6172410e81f32b862eb56f93 100644 (file)
 #define GSI_TLV_MAX            64
 
 struct device;
-struct scatterlist;
 struct platform_device;
 
 struct gsi;
 struct gsi_trans;
-struct gsi_channel_data;
 struct ipa_gsi_endpoint_data;
 
 struct gsi_ring {
index 30c1c2dc77c67fb6547cef1cb723cf4741aab975..407c3af24b6e029d942f1fb4b32c8adfb235ae88 100644 (file)
@@ -1,7 +1,7 @@
 /* SPDX-License-Identifier: GPL-2.0 */
 
 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
- * Copyright (C) 2019-2022 Linaro Ltd.
+ * Copyright (C) 2019-2024 Linaro Ltd.
  */
 #ifndef _GSI_TRANS_H_
 #define _GSI_TRANS_H_
@@ -19,7 +19,6 @@ struct device;
 struct sk_buff;
 
 struct gsi;
-struct gsi_trans;
 struct gsi_trans_pool;
 
 /* Maximum number of TREs in an IPA immediate command transaction */
index cdfd579af5b94e46ee89812fb828cc4f14e7366a..6f4ea1cfa4a917105f39cdfc63037cde29c07d0d 100644 (file)
@@ -15,8 +15,6 @@
 #include "ipa_qmi.h"
 #include "ipa_endpoint.h"
 
-struct clk;
-struct icc_path;
 struct net_device;
 
 struct ipa_power;
index 86ad4cd68d1aab75fd76fb228ffac88b3d0bb47c..fa37416ba4bd1759c0721d909893f99a0df7b430 100644 (file)
@@ -8,9 +8,6 @@
 
 #include <linux/types.h>
 
-struct sk_buff;
-struct scatterlist;
-
 struct ipa;
 struct ipa_mem;
 struct gsi_trans;
index e41791f2a1be43347f6600f9cb3db8209d26a096..3ffaa0687caa8256de25c53987d7fe1aea7213ae 100644 (file)
@@ -12,7 +12,6 @@ struct device;
 
 struct ipa;
 struct ipa_power_data;
-enum ipa_irq_id;
 
 /* IPA device power management function block */
 extern const struct dev_pm_ops ipa_pm_ops;
index 58ba22810bab424926461289ea88f9a9f0b1bda6..43d9cb0722a42deb06fe2eb4b9c464b957dcc30d 100644 (file)
@@ -1,13 +1,11 @@
 /* SPDX-License-Identifier: GPL-2.0 */
 
 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
- * Copyright (C) 2019-2022 Linaro Ltd.
+ * Copyright (C) 2019-2024 Linaro Ltd.
  */
 #ifndef _IPA_SYSFS_H_
 #define _IPA_SYSFS_H_
 
-struct attribute_group;
-
 extern const struct attribute_group ipa_attribute_group;
 extern const struct attribute_group ipa_feature_attribute_group;
 extern const struct attribute_group ipa_endpoint_id_attribute_group;
index 85aa0df818c230c98b0118a594ed723f4c058dc5..12997ecf5faae80dbbd1b92c13c95a3e72d9b2f5 100644 (file)
@@ -1,13 +1,12 @@
 /* SPDX-License-Identifier: GPL-2.0 */
 
 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
- * Copyright (C) 2019-2022 Linaro Ltd.
+ * Copyright (C) 2019-2024 Linaro Ltd.
  */
 #ifndef _IPA_UC_H_
 #define _IPA_UC_H_
 
 struct ipa;
-enum ipa_irq_id;
 
 /**
  * ipa_uc_interrupt_handler() - Handler for microcontroller IPA interrupts