Skip to content

Commit b4fe59d

Browse files
Leo-Kimgregkh
authored andcommitted
staging: wilc1000: remove typedef from tstrWILC_UsrScanReq
This patch removes typedef from the struct tstrWILC_UsrScanReq with related comments and renames it to user_scan_req. Signed-off-by: Leo Kim <[email protected]> Signed-off-by: Tony Cho <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 5419632 commit b4fe59d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

drivers/staging/wilc1000/host_interface.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ struct hidden_network {
225225
u8 u8ssidnum;
226226
};
227227

228-
typedef struct {
228+
struct user_scan_req {
229229
/* Scan user call back function */
230230
wilc_scan_result pfUserScanResult;
231231

@@ -234,7 +234,7 @@ typedef struct {
234234

235235
u32 u32RcvdChCount;
236236
tstrFoundNetworkInfo astrFoundNetworkInfo[MAX_NUM_SCANNED_NETWORKS];
237-
} tstrWILC_UsrScanReq;
237+
};
238238

239239
typedef struct {
240240
u8 *pu8bssid;
@@ -304,8 +304,7 @@ enum p2p_listen_state {
304304
};
305305

306306
struct host_if_drv {
307-
/* Scan user structure */
308-
tstrWILC_UsrScanReq strWILC_UsrScanReq;
307+
struct user_scan_req strWILC_UsrScanReq;
309308

310309
/* Connect User structure */
311310
tstrWILC_UsrConnReq strWILC_UsrConnReq;

0 commit comments

Comments
 (0)