Skip to content

Commit

Permalink
staging: wlags49_h2: wl_if.h: fixes brace placement
Browse files Browse the repository at this point in the history
This commit fixes incorrect brace placement, as reported by the
checkpatch.pl tool.

Signed-off-by: Johan Meiring <johanmeiring@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Johan Meiring authored and Greg Kroah-Hartman committed Nov 21, 2012
1 parent 74a9369 commit 5aeb6fc
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions drivers/staging/wlags49_h2/wl_if.h
Original file line number Diff line number Diff line change
Expand Up @@ -175,20 +175,17 @@ UIL_FUN_PUT_INFO
/*******************************************************************************
* STRUCTURE DEFINITIONS
******************************************************************************/
typedef struct
{
typedef struct {
__u16 length;
__u8 name[HCF_MAX_NAME_LEN];
}
wvName_t;


typedef struct
{
typedef struct {
hcf_16 len;
hcf_16 typ;
union
{
union {
hcf_8 u8[MAX_LTV_BUF_SIZE / sizeof(hcf_8)];
hcf_16 u16[MAX_LTV_BUF_SIZE / sizeof(hcf_16)];
hcf_32 u32[MAX_LTV_BUF_SIZE / sizeof(hcf_32)];
Expand All @@ -197,10 +194,8 @@ typedef struct
ltv_t;


struct uilreq
{
union
{
struct uilreq {
union {
char ifrn_name[IFNAMSIZ];
} ifr_ifrn;

Expand All @@ -216,10 +211,8 @@ struct uilreq
};


struct rtsreq
{
union
{
struct rtsreq {
union {
char ifrn_name[IFNAMSIZ];
}
ifr_ifrn;
Expand Down

0 comments on commit 5aeb6fc

Please sign in to comment.