This patch removes typedef for _CONTROL_PACKET, changes the
name of the struct from _CONTROL_PACKET to CONTROL_PACKET.
In addition, any calls to the following typedefs
"CONTROL_PACKET, *PCONTROL_PACKET" are changed to call
the struct directly.

Signed-off-by: Kevin McKinney <[email protected]>
---
 drivers/staging/bcm/Adapter.h |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/bcm/Adapter.h b/drivers/staging/bcm/Adapter.h
index b2657ef..f930b09 100644
--- a/drivers/staging/bcm/Adapter.h
+++ b/drivers/staging/bcm/Adapter.h
@@ -21,12 +21,11 @@ struct _PACKETTOSEND {
 } __packed;
 typedef struct _PACKETTOSEND PACKETTOSEND, *PPACKETTOSEND;
 
-struct _CONTROL_PACKET {
+struct CONTROL_PACKET {
        PVOID   ControlBuff;
        UINT    ControlBuffLen;
-       struct _CONTROL_PACKET *next;
+       struct CONTROL_PACKET *next;
 } __packed;
-typedef struct _CONTROL_PACKET CONTROL_PACKET, *PCONTROL_PACKET;
 
 struct LINK_REQUEST {
        LEADER  Leader;
-- 
1.7.9.5

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to