qcacld-3.0: Remove unnecessary NULL pointer check

Remove unnecessary NULL pointer check which is already done
in the caller.

Change-Id: I1facd599b78c3f5d4c2c1ed6f6591a12560d4508
CRs-Fixed: 2749441
This commit is contained in:
Min Liu 2020-08-06 11:37:11 +08:00 committed by snandini
parent f5951e0c42
commit ed37571ba9

View File

@ -5782,11 +5782,6 @@ static int hdd_send_coex_config_params(struct hdd_context *hdd_ctx,
uint8_t btc_chain_mode;
QDF_STATUS status;
if (!hdd_ctx) {
hdd_err("hdd_ctx is invalid");
goto err;
}
if (!adapter) {
hdd_err("adapter is invalid");
goto err;