Skip to content

Commit

Permalink
Staging: bcm: Remove typedef for _CONTROL_PACKET and call directly.
Browse files Browse the repository at this point in the history
This patch removes typedef for _CONTROL_PACKET,
changes the name of the struct from _CONTROL_PACKET
to bcm_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 <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Kevin McKinney authored and Greg Kroah-Hartman committed Jun 5, 2012
1 parent 2610c7a commit c1975ed
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/staging/bcm/Adapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ struct _PACKETTOSEND {
} __packed;
typedef struct _PACKETTOSEND PACKETTOSEND, *PPACKETTOSEND;

struct _CONTROL_PACKET {
struct bcm_control_packet {
PVOID ControlBuff;
UINT ControlBuffLen;
struct _CONTROL_PACKET *next;
struct bcm_control_packet *next;
} __packed;
typedef struct _CONTROL_PACKET CONTROL_PACKET, *PCONTROL_PACKET;

struct bcm_link_request {
LEADER Leader;
Expand Down

0 comments on commit c1975ed

Please sign in to comment.