Skip to contentSkip to conversation

Staging : wilc1000 :Remove typedef from struct

PATCH In review Shraddha Barke 2 participants 2 messages Jul 31, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging : wilc1000 :Remove typedef from struct

This patch fixes the following checkpatch.pl warning:

WARNING: do not add new typedefs

---
 drivers/staging/wilc1000/coreconfigurator.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/wilc1000/coreconfigurator.c +1 -1
index 0f31d63..54eb8a1 100644
@@ -140,7 +140,7 @@ typedef enum {
 } tenuInfoElemID;
 
 
-typedef struct {
+struct {
 	char *pcRespBuffer;
 	s32 s32MaxRespBuffLen;
 	s32 s32BytesRead;
Signature · 1 line
2.1.0
#1 lore raw
Quoted 13 lines · Shraddha Barke

This patch fixes the following checkpatch.pl warning:

WARNING: do not add new typedefs

---
 drivers/staging/wilc1000/coreconfigurator.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/wilc1000/coreconfigurator.c +0 -0
index 0f31d63..54eb8a1 100644

drivers/staging/wilc1000/coreconfigurator.c typedef enum { · line 146

Quoted 8 lines
drivers/staging/wilc1000/coreconfigurator.c +1 -1
@@ -140,7 +140,7 @@ typedef enum {
 } tenuInfoElemID;
 
 
-typedef struct {
+struct {
 	char *pcRespBuffer;
 	s32 s32MaxRespBuffLen;
 	s32 s32BytesRead;

You haven't compiled this.