projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
staging: rtl8188eu: cleanup remaining comparsions to true
[linux-2.6-microblaze.git]
/
drivers
/
staging
/
rtl8188eu
/
core
/
rtw_sta_mgt.c
diff --git
a/drivers/staging/rtl8188eu/core/rtw_sta_mgt.c
b/drivers/staging/rtl8188eu/core/rtw_sta_mgt.c
index
f12a12b
..
91a3014
100644
(file)
--- a/
drivers/staging/rtl8188eu/core/rtw_sta_mgt.c
+++ b/
drivers/staging/rtl8188eu/core/rtw_sta_mgt.c
@@
-429,7
+429,7
@@
struct sta_info *rtw_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr)
while (phead != plist) {
psta = container_of(plist, struct sta_info, hash_list);
- if (
(!memcmp(psta->hwaddr, addr, ETH_ALEN)) == true
) {
+ if (
!memcmp(psta->hwaddr, addr, ETH_ALEN)
) {
/* if found the matched address */
break;
}