diff --git a/model/network/wifi/platform/src/hdf_wlan_queue.c b/model/network/wifi/platform/src/hdf_wlan_queue.c index eb88be8d7e32973f6bd24fcea3a3d598f765be66..b2d1a45cefc250f380d1e6ab8eaa53ed61b2f86c 100644 --- a/model/network/wifi/platform/src/hdf_wlan_queue.c +++ b/model/network/wifi/platform/src/hdf_wlan_queue.c @@ -80,9 +80,6 @@ void *PopQueue(HdfWlanQueue *queue) return NULL; } impl = (HdfWlanQueueImpl *)queue; - if (queue == NULL) { - return NULL; - } ret = OsalMutexLock(&impl->lock); if (ret != HDF_SUCCESS) { HDF_LOGE("%s:Get lock failed!ret=%d", __func__, ret);