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:
parent
f5951e0c42
commit
ed37571ba9
@ -5782,11 +5782,6 @@ static int hdd_send_coex_config_params(struct hdd_context *hdd_ctx,
|
|||||||
uint8_t btc_chain_mode;
|
uint8_t btc_chain_mode;
|
||||||
QDF_STATUS status;
|
QDF_STATUS status;
|
||||||
|
|
||||||
if (!hdd_ctx) {
|
|
||||||
hdd_err("hdd_ctx is invalid");
|
|
||||||
goto err;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!adapter) {
|
if (!adapter) {
|
||||||
hdd_err("adapter is invalid");
|
hdd_err("adapter is invalid");
|
||||||
goto err;
|
goto err;
|
||||||
|
Loading…
Reference in New Issue
Block a user