Message ID | 1444733419-17679-14-git-send-email-tony.cho@atmel.com (mailing list archive) |
---|---|
State | Not Applicable |
Delegated to: | Kalle Valo |
Headers | show |
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index b7eb272..1e2a4ec 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -957,11 +957,6 @@ ERRORHANDLER: pstrHostIFscanAttr->strHiddenNetwork.pstrHiddenNetworkInfo = NULL; } - if (pstrHostIFscanAttr->pu8ChnlFreqList != NULL) { - kfree(pstrHostIFscanAttr->pu8ChnlFreqList); - pstrHostIFscanAttr->pu8ChnlFreqList = NULL; - } - if (pu8HdnNtwrksWidVal != NULL) kfree(pu8HdnNtwrksWidVal);