2007-11-25 14:58:12

by Miguel Botón

[permalink] [raw]
Subject: [PATCH] iwlwifi: remove redundant declaration of 'iwl3945_priv' and 'iwl4965_priv' structs

This patch removes a redundant declaration of 'iwl3945_priv' and 'iwl49=
65_priv' structs.

Signed-off-by: Miguel Boton <[email protected]>

diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.h b/drivers/net/wire=
less/iwlwifi/iwl-3945.h
index 49556e6..70f3fc0 100644
--- a/drivers/net/wireless/iwlwifi/iwl-3945.h
+++ b/drivers/net/wireless/iwlwifi/iwl-3945.h
@@ -31,8 +31,6 @@
#include <linux/kernel.h>
#include <net/ieee80211_radiotap.h>
=20
-struct iwl3945_priv;
-
/* Hardware specific file defines the PCI IDs table for that hardware =
module */
extern struct pci_device_id iwl3945_hw_card_ids[];
=20
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.h b/drivers/net/wire=
less/iwlwifi/iwl-4965.h
index 5944b4b..949630c 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965.h
+++ b/drivers/net/wireless/iwlwifi/iwl-4965.h
@@ -30,8 +30,6 @@
#include <linux/kernel.h>
#include <net/ieee80211_radiotap.h>
=20
-struct iwl4965_priv;
-
/* Hardware specific file defines the PCI IDs table for that hardware =
module */
extern struct pci_device_id iwl4965_hw_card_ids[];
=20

--=20
Miguel Bot=C3=B3n


2007-11-26 01:11:17

by Zhu Yi

[permalink] [raw]
Subject: Re: [PATCH] iwlwifi: remove redundant declaration of 'iwl3945_priv' and 'iwl4965_priv' structs


On Sun, 2007-11-25 at 15:58 +0100, Miguel Bot=A8=AEn wrote:
> This patch removes a redundant declaration of 'iwl3945_priv' and
> 'iwl4965_priv' structs.
>=20
> Signed-off-by: Miguel Boton <[email protected]>

ACK.

Thanks,
-yi