staging: wilc1000: remove duplicate null check routine
This patch removes the duplicate null check routine. The same null check routine is twice executed. Therefore the duplicated routine is not necessary. Signed-off-by: Leo Kim <leo.kim@atmel.com> Signed-off-by: Tony Cho <tony.cho@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1e276c8842
commit
97b457d7e2
1 changed files with 0 additions and 5 deletions
|
|
@ -957,11 +957,6 @@ ERRORHANDLER:
|
|||
pstrHostIFscanAttr->strHiddenNetwork.pstrHiddenNetworkInfo = NULL;
|
||||
}
|
||||
|
||||
if (pstrHostIFscanAttr->pu8ChnlFreqList != NULL) {
|
||||
kfree(pstrHostIFscanAttr->pu8ChnlFreqList);
|
||||
pstrHostIFscanAttr->pu8ChnlFreqList = NULL;
|
||||
}
|
||||
|
||||
if (pu8HdnNtwrksWidVal != NULL)
|
||||
kfree(pu8HdnNtwrksWidVal);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue