From: Chaehyun Lim <chaehyun.lim@gmail.com>
To: gregkh@linuxfoundation.org
Cc: linux-wireless@vger.kernel.org, kernel-janitors@vger.kernel.org,
devel@driverdev.osuosl.org, Chaehyun Lim <chaehyun.lim@gmail.com>
Subject: [PATCH 1/2] staging: wilc1000: remove BOOL_T typedef
Date: Sat, 13 Jun 2015 06:41:18 +0000 [thread overview]
Message-ID: <1434177679-9831-1-git-send-email-chaehyun.lim@gmail.com> (raw)
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
next reply other threads:[~2015-06-13 6:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-13 6:41 Chaehyun Lim [this message]
2015-06-13 6:41 ` [PATCH 2/2] staging: wilc1000: remove itypes.h Chaehyun Lim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1434177679-9831-1-git-send-email-chaehyun.lim@gmail.com \
--to=chaehyun.lim@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox