Remove unnecessary NULL pointer check which is already done in the caller. Change-Id: I1facd599b78c3f5d4c2c1ed6f6591a12560d4508 CRs-Fixed: 2749441
@@ -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;