All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] staging: wilc1000: remove BOOL_T typedef
@ 2015-06-13  6:41 ` Chaehyun Lim
  0 siblings, 0 replies; 4+ messages in thread
From: Chaehyun Lim @ 2015-06-13  6:41 UTC (permalink / raw)
  To: gregkh; +Cc: linux-wireless, kernel-janitors, devel, Chaehyun Lim

Remove BOOL_T typedef.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
 drivers/staging/wilc1000/host_interface.c | 6 +++---
 drivers/staging/wilc1000/itypes.h         | 9 ---------
 2 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index 17ab5cd..ca59f1b 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -7698,7 +7698,7 @@ static void *host_int_ParseJoinBssParam(tstrNetworkInfo *ptstrNetworkInfo)
 			/* HT Cap. IE */
 			else if (pu8IEs[index] == HT_CAPABILITY_IE) {
 				/* if IE found set the flag */
-				pNewJoinBssParam->ht_capable = BTRUE;
+				pNewJoinBssParam->ht_capable = true;
 				index += pu8IEs[index + 1] + 2; /* ID,Length bytes and IE body */
 				/* PRINT_D(HOSTINF_DBG,"HT_CAPABALE\n"); */
 				continue;
@@ -7709,11 +7709,11 @@ static void *host_int_ParseJoinBssParam(tstrNetworkInfo *ptstrNetworkInfo)
 				   ((pu8IEs[index + 6] == 0x00) || (pu8IEs[index + 6] == 0x01)) && /* OUI Sub Type */
 				   (pu8IEs[index + 7] == 0x01)) {
 				/* Presence of WMM Info/Param element indicates WMM capability */
-				pNewJoinBssParam->wmm_cap = BTRUE;
+				pNewJoinBssParam->wmm_cap = true;
 
 				/* Check if Bit 7 is set indicating U-APSD capability */
 				if (pu8IEs[index + 8] & (1 << 7)) {
-					pNewJoinBssParam->uapsd_cap = BTRUE;
+					pNewJoinBssParam->uapsd_cap = true;
 				}
 				index += pu8IEs[index + 1] + 2;
 				continue;
diff --git a/drivers/staging/wilc1000/itypes.h b/drivers/staging/wilc1000/itypes.h
index 2441853..d64ae35 100644
--- a/drivers/staging/wilc1000/itypes.h
+++ b/drivers/staging/wilc1000/itypes.h
@@ -36,13 +36,4 @@
 #ifndef ITYPES_H
 #define ITYPES_H
 
-/*****************************************************************************/
-/* Enums                                                                     */
-/*****************************************************************************/
-
-typedef enum {
-	BFALSE = 0,
-	BTRUE  = 1
-} BOOL_T;
-
 #endif /* ITYPES_H */
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 1/2] staging: wilc1000: remove BOOL_T typedef
@ 2015-06-13  6:41 ` Chaehyun Lim
  0 siblings, 0 replies; 4+ messages in thread
From: Chaehyun Lim @ 2015-06-13  6:41 UTC (permalink / raw)
  To: gregkh; +Cc: linux-wireless, kernel-janitors, devel, Chaehyun Lim

Remove BOOL_T typedef.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
 drivers/staging/wilc1000/host_interface.c | 6 +++---
 drivers/staging/wilc1000/itypes.h         | 9 ---------
 2 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index 17ab5cd..ca59f1b 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -7698,7 +7698,7 @@ static void *host_int_ParseJoinBssParam(tstrNetworkInfo *ptstrNetworkInfo)
 			/* HT Cap. IE */
 			else if (pu8IEs[index] = HT_CAPABILITY_IE) {
 				/* if IE found set the flag */
-				pNewJoinBssParam->ht_capable = BTRUE;
+				pNewJoinBssParam->ht_capable = true;
 				index += pu8IEs[index + 1] + 2; /* ID,Length bytes and IE body */
 				/* PRINT_D(HOSTINF_DBG,"HT_CAPABALE\n"); */
 				continue;
@@ -7709,11 +7709,11 @@ static void *host_int_ParseJoinBssParam(tstrNetworkInfo *ptstrNetworkInfo)
 				   ((pu8IEs[index + 6] = 0x00) || (pu8IEs[index + 6] = 0x01)) && /* OUI Sub Type */
 				   (pu8IEs[index + 7] = 0x01)) {
 				/* Presence of WMM Info/Param element indicates WMM capability */
-				pNewJoinBssParam->wmm_cap = BTRUE;
+				pNewJoinBssParam->wmm_cap = true;
 
 				/* Check if Bit 7 is set indicating U-APSD capability */
 				if (pu8IEs[index + 8] & (1 << 7)) {
-					pNewJoinBssParam->uapsd_cap = BTRUE;
+					pNewJoinBssParam->uapsd_cap = true;
 				}
 				index += pu8IEs[index + 1] + 2;
 				continue;
diff --git a/drivers/staging/wilc1000/itypes.h b/drivers/staging/wilc1000/itypes.h
index 2441853..d64ae35 100644
--- a/drivers/staging/wilc1000/itypes.h
+++ b/drivers/staging/wilc1000/itypes.h
@@ -36,13 +36,4 @@
 #ifndef ITYPES_H
 #define ITYPES_H
 
-/*****************************************************************************/
-/* Enums                                                                     */
-/*****************************************************************************/
-
-typedef enum {
-	BFALSE = 0,
-	BTRUE  = 1
-} BOOL_T;
-
 #endif /* ITYPES_H */
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] staging: wilc1000: remove itypes.h
  2015-06-13  6:41 ` Chaehyun Lim
@ 2015-06-13  6:41   ` Chaehyun Lim
  -1 siblings, 0 replies; 4+ messages in thread
From: Chaehyun Lim @ 2015-06-13  6:41 UTC (permalink / raw)
  To: gregkh; +Cc: linux-wireless, kernel-janitors, devel, Chaehyun Lim

Remove itypes.h that is not needed.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
 drivers/staging/wilc1000/coreconfigurator.c |  1 -
 drivers/staging/wilc1000/host_interface.c   |  1 -
 drivers/staging/wilc1000/itypes.h           | 39 -----------------------------
 3 files changed, 41 deletions(-)
 delete mode 100644 drivers/staging/wilc1000/itypes.h

diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/wilc1000/coreconfigurator.c
index 9abc73d..792ba6d 100644
--- a/drivers/staging/wilc1000/coreconfigurator.c
+++ b/drivers/staging/wilc1000/coreconfigurator.c
@@ -12,7 +12,6 @@
 /*****************************************************************************/
 /* File Includes                                                             */
 /*****************************************************************************/
-#include "itypes.h"
 #include "coreconfigurator.h"
 /*****************************************************************************/
 /* Constants                                                                 */
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index ca59f1b..1e9a2f1 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -1,6 +1,5 @@
 #include "host_interface.h"
 #include "wilc_oswrapper.h"
-#include "itypes.h"
 #include "coreconfigurator.h"
 
 extern s32 TransportInit(void);
diff --git a/drivers/staging/wilc1000/itypes.h b/drivers/staging/wilc1000/itypes.h
deleted file mode 100644
index d64ae35..0000000
--- a/drivers/staging/wilc1000/itypes.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*****************************************************************************/
-/*                                                                           */
-/*                     Ittiam 802.11 MAC SOFTWARE                            */
-/*                                                                           */
-/*                  ITTIAM SYSTEMS PVT LTD, BANGALORE                        */
-/*                           COPYRIGHT(C) 2005                               */
-/*                                                                           */
-/*  This program  is  proprietary to  Ittiam  Systems  Private  Limited  and */
-/*  is protected under Indian  Copyright Law as an unpublished work. Its use */
-/*  and  disclosure  is  limited by  the terms  and  conditions of a license */
-/*  agreement. It may not be copied or otherwise  reproduced or disclosed to */
-/*  persons outside the licensee's organization except in accordance with the*/
-/*  terms  and  conditions   of  such  an  agreement.  All  copies  and      */
-/*  reproductions shall be the property of Ittiam Systems Private Limited and*/
-/*  must bear this notice in its entirety.                                   */
-/*                                                                           */
-/*****************************************************************************/
-
-/*****************************************************************************/
-/*                                                                           */
-/*  File Name         : itypes.h                                             */
-/*                                                                           */
-/*  Description       : This file contains all the data type definitions for */
-/*                      MAC implementation.                                  */
-/*                                                                           */
-/*  List of Functions : None                                                 */
-/*  Issues / Problems : None                                                 */
-/*                                                                           */
-/*  Revision History  :                                                      */
-/*                                                                           */
-/*         DD MM YYYY   Author(s)       Changes                              */
-/*         01 05 2005   Ittiam          Draft                                */
-/*                                                                           */
-/*****************************************************************************/
-
-#ifndef ITYPES_H
-#define ITYPES_H
-
-#endif /* ITYPES_H */
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] staging: wilc1000: remove itypes.h
@ 2015-06-13  6:41   ` Chaehyun Lim
  0 siblings, 0 replies; 4+ messages in thread
From: Chaehyun Lim @ 2015-06-13  6:41 UTC (permalink / raw)
  To: gregkh; +Cc: linux-wireless, kernel-janitors, devel, Chaehyun Lim

Remove itypes.h that is not needed.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
---
 drivers/staging/wilc1000/coreconfigurator.c |  1 -
 drivers/staging/wilc1000/host_interface.c   |  1 -
 drivers/staging/wilc1000/itypes.h           | 39 -----------------------------
 3 files changed, 41 deletions(-)
 delete mode 100644 drivers/staging/wilc1000/itypes.h

diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/wilc1000/coreconfigurator.c
index 9abc73d..792ba6d 100644
--- a/drivers/staging/wilc1000/coreconfigurator.c
+++ b/drivers/staging/wilc1000/coreconfigurator.c
@@ -12,7 +12,6 @@
 /*****************************************************************************/
 /* File Includes                                                             */
 /*****************************************************************************/
-#include "itypes.h"
 #include "coreconfigurator.h"
 /*****************************************************************************/
 /* Constants                                                                 */
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index ca59f1b..1e9a2f1 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -1,6 +1,5 @@
 #include "host_interface.h"
 #include "wilc_oswrapper.h"
-#include "itypes.h"
 #include "coreconfigurator.h"
 
 extern s32 TransportInit(void);
diff --git a/drivers/staging/wilc1000/itypes.h b/drivers/staging/wilc1000/itypes.h
deleted file mode 100644
index d64ae35..0000000
--- a/drivers/staging/wilc1000/itypes.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*****************************************************************************/
-/*                                                                           */
-/*                     Ittiam 802.11 MAC SOFTWARE                            */
-/*                                                                           */
-/*                  ITTIAM SYSTEMS PVT LTD, BANGALORE                        */
-/*                           COPYRIGHT(C) 2005                               */
-/*                                                                           */
-/*  This program  is  proprietary to  Ittiam  Systems  Private  Limited  and */
-/*  is protected under Indian  Copyright Law as an unpublished work. Its use */
-/*  and  disclosure  is  limited by  the terms  and  conditions of a license */
-/*  agreement. It may not be copied or otherwise  reproduced or disclosed to */
-/*  persons outside the licensee's organization except in accordance with the*/
-/*  terms  and  conditions   of  such  an  agreement.  All  copies  and      */
-/*  reproductions shall be the property of Ittiam Systems Private Limited and*/
-/*  must bear this notice in its entirety.                                   */
-/*                                                                           */
-/*****************************************************************************/
-
-/*****************************************************************************/
-/*                                                                           */
-/*  File Name         : itypes.h                                             */
-/*                                                                           */
-/*  Description       : This file contains all the data type definitions for */
-/*                      MAC implementation.                                  */
-/*                                                                           */
-/*  List of Functions : None                                                 */
-/*  Issues / Problems : None                                                 */
-/*                                                                           */
-/*  Revision History  :                                                      */
-/*                                                                           */
-/*         DD MM YYYY   Author(s)       Changes                              */
-/*         01 05 2005   Ittiam          Draft                                */
-/*                                                                           */
-/*****************************************************************************/
-
-#ifndef ITYPES_H
-#define ITYPES_H
-
-#endif /* ITYPES_H */
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-06-13  6:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-13  6:41 [PATCH 1/2] staging: wilc1000: remove BOOL_T typedef Chaehyun Lim
2015-06-13  6:41 ` Chaehyun Lim
2015-06-13  6:41 ` [PATCH 2/2] staging: wilc1000: remove itypes.h Chaehyun Lim
2015-06-13  6:41   ` Chaehyun Lim

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.