mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 11:00:56 +07:00
batman-adv: Remove batadv_ types forward declarations
main.h is included in every file and is the only way to access types.h. This makes forward declarations for all types defined in types.h unnecessary. Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch> Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
This commit is contained in:
parent
383b863620
commit
2bdd1888f1
@ -22,9 +22,6 @@
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
struct batadv_hard_iface;
|
||||
struct batadv_orig_node;
|
||||
struct batadv_priv;
|
||||
struct seq_file;
|
||||
struct sk_buff;
|
||||
|
||||
|
@ -22,7 +22,6 @@
|
||||
|
||||
#include <linux/kconfig.h>
|
||||
|
||||
struct batadv_hard_iface;
|
||||
struct net_device;
|
||||
|
||||
#define BATADV_DEBUGFS_SUBDIR "batman_adv"
|
||||
|
@ -22,7 +22,6 @@
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
struct batadv_priv;
|
||||
struct net_device;
|
||||
|
||||
enum batadv_gw_modes {
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include <linux/types.h>
|
||||
|
||||
struct batadv_icmp_header;
|
||||
struct batadv_priv;
|
||||
|
||||
#define BATADV_ICMP_SOCKET "socket"
|
||||
|
||||
|
@ -20,8 +20,6 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
struct batadv_orig_node;
|
||||
struct batadv_priv;
|
||||
struct sk_buff;
|
||||
|
||||
/**
|
||||
|
@ -22,11 +22,7 @@
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
struct batadv_nc_node;
|
||||
struct batadv_neigh_node;
|
||||
struct batadv_ogm_packet;
|
||||
struct batadv_orig_node;
|
||||
struct batadv_priv;
|
||||
struct net_device;
|
||||
struct seq_file;
|
||||
struct sk_buff;
|
||||
|
@ -22,10 +22,6 @@
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
struct batadv_hard_iface;
|
||||
struct batadv_neigh_node;
|
||||
struct batadv_orig_node;
|
||||
struct batadv_priv;
|
||||
struct sk_buff;
|
||||
|
||||
bool batadv_check_management_packet(struct sk_buff *skb,
|
||||
|
@ -25,9 +25,6 @@
|
||||
|
||||
#include "packet.h"
|
||||
|
||||
struct batadv_hard_iface;
|
||||
struct batadv_orig_node;
|
||||
struct batadv_priv;
|
||||
struct sk_buff;
|
||||
struct work_struct;
|
||||
|
||||
|
@ -22,10 +22,6 @@
|
||||
|
||||
#include <net/rtnetlink.h>
|
||||
|
||||
struct batadv_hard_iface;
|
||||
struct batadv_orig_node;
|
||||
struct batadv_priv;
|
||||
struct batadv_softif_vlan;
|
||||
struct net_device;
|
||||
struct sk_buff;
|
||||
|
||||
|
@ -23,8 +23,6 @@
|
||||
#include <linux/sysfs.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
struct batadv_priv;
|
||||
struct batadv_softif_vlan;
|
||||
struct kobject;
|
||||
struct net_device;
|
||||
|
||||
|
@ -22,8 +22,6 @@
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
struct batadv_orig_node;
|
||||
struct batadv_priv;
|
||||
struct net_device;
|
||||
struct seq_file;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user