mwl: drop unneeded NULL pointer check.

mh_streams[] is a fixed-length array, not a pointer.
This commit is contained in:
Andriy Voskoboinyk 2016-05-17 20:53:56 +00:00
parent 0a27537893
commit a54e0911c4

View File

@ -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 *