Skip to content
6 changes: 0 additions & 6 deletions rfcMgr/rfc_xconf_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1888,7 +1888,6 @@ void RuntimeFeatureControlProcessor::InitDownloadData(DownloadData *pDwnData)
int RuntimeFeatureControlProcessor::DownloadRuntimeFeatutres(DownloadData *pDwnLoc, DownloadData *pHeaderDwnLoc, const std::string& url_str)
{
int ret_value = FAILURE;
void *curl = nullptr;
hashParam_t *hashParam = nullptr;

int curl_ret_code = -1;
Expand Down Expand Up @@ -1981,11 +1980,6 @@ int RuntimeFeatureControlProcessor::DownloadRuntimeFeatutres(DownloadData *pDwnL
const char *error_msg = curl_easy_strerror(curl_code);
RDK_LOG(RDK_LOG_DEBUG, LOG_RFCMGR, "[%s][%d] curl_easy_strerror =%s\n", __FUNCTION__, __LINE__, error_msg);

if(curl)
{
doStopDownload(curl);
curl = nullptr;
}
if(file_dwnl.hashData != nullptr)
{
free(file_dwnl.hashData);
Expand Down
Loading