mwl: drop unneeded NULL pointer check.
mh_streams[] is a fixed-length array, not a pointer.
This commit is contained in:
parent
0a27537893
commit
a54e0911c4
@ -1440,7 +1440,7 @@ mwl_hal_bastream_alloc(struct mwl_hal_vap *vap, int ba_policy,
|
||||
sp->setup = 0;
|
||||
sp->ba_policy = ba_policy;
|
||||
MWL_HAL_UNLOCK(mh);
|
||||
return sp != NULL ? &sp->public : NULL;
|
||||
return &sp->public;
|
||||
}
|
||||
|
||||
const MWL_HAL_BASTREAM *
|
||||
|
Loading…
Reference in New Issue
Block a user