projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4ff4e2
)
Staging: rtl8188eu: rtw_efuse: Do not print message if kzalloc() failed.
author
Sandhya Bankar
<
[email protected]
>
Mon, 7 Mar 2016 12:18:16 +0000
(17:48 +0530)
committer
Greg Kroah-Hartman
<
[email protected]
>
Sat, 12 Mar 2016 06:09:09 +0000
(22:09 -0800)
Do not print message if kzalloc() failed.
kzalloc() has its own messages. So no need to add extra one.
Signed-off-by: Sandhya Bankar <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/rtl8188eu/core/rtw_efuse.c
patch
|
blob
|
history
diff --git
a/drivers/staging/rtl8188eu/core/rtw_efuse.c
b/drivers/staging/rtl8188eu/core/rtw_efuse.c
index fd8cf472e8dc6c9d694d4c5601a39abcfdf24f7b..cca42e5bf9e052e07ca462f60e38e8fe4a06c8e6 100644
(file)
--- a/
drivers/staging/rtl8188eu/core/rtw_efuse.c
+++ b/
drivers/staging/rtl8188eu/core/rtw_efuse.c
@@
-104,10
+104,8
@@
efuse_phymap_to_logical(u8 *phymap, u16 _offset, u16 _size_byte, u8 *pbuf)
u8 u1temp = 0;
efuseTbl = kzalloc(EFUSE_MAP_LEN_88E, GFP_KERNEL);
- if (efuseTbl == NULL) {
- DBG_88E("%s: alloc efuseTbl fail!\n", __func__);
+ if (!efuseTbl)
return;
- }
eFuseWord = (u16 **)rtw_malloc2d(EFUSE_MAX_SECTION_88E, EFUSE_MAX_WORD_UNIT, sizeof(u16));
if (eFuseWord == NULL) {