Skip to content
Commit 1610aa0e authored by Gaetan Perrot's avatar Gaetan Perrot Committed by Dan Kalowsky
Browse files

bluetooth: host: a2dp: remove redundant null check



Remove duplicated check for 'ep->stream == NULL' to clean up conditionals
and avoid unnecessary repeated evaluations.

This cleans up the code and avoids unnecessary repeated condition
evaluation.

Signed-off-by: default avatarGaetan Perrot <gaetan.perrot@spacecubics.com>
parent 41ef8c3c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment