Commit 11606196 authored by Alex Elder's avatar Alex Elder Committed by Paolo Abeni
Browse files

net: ipa: eliminate unneeded struct declarations



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: default avatarAlex Elder <elder@linaro.org>
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 81186959
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -21,12 +21,10 @@
#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 {
+1 −2
Original line number Diff line number Diff line
/* 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 */
+0 −2
Original line number Diff line number Diff line
@@ -15,8 +15,6 @@
#include "ipa_qmi.h"
#include "ipa_endpoint.h"

struct clk;
struct icc_path;
struct net_device;

struct ipa_power;
+0 −3
Original line number Diff line number Diff line
@@ -8,9 +8,6 @@

#include <linux/types.h>

struct sk_buff;
struct scatterlist;

struct ipa;
struct ipa_mem;
struct gsi_trans;
+0 −1
Original line number Diff line number Diff line
@@ -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;
Loading