aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorTang Bin <[email protected]>2020-07-14 19:27:44 +0800
committerMark Brown <[email protected]>2020-07-17 14:47:00 +0100
commit16bf5e82facd703ba8f206f00f064e786ea8318c (patch)
tree5d8278f52e89180cbbe4c85e51bd70fb515177bf /lib/netdev-notifier-error-inject.c
parent969943bfc9629f7c999fb5168a1d693cf03acc36 (diff)
ASoC: qcom: qdsp6: Use IS_ERR() instead of IS_ERR_OR_NULL()
In the function q6adm_open(), q6adm_alloc_copp() doesn't return NULL. Thus use IS_ERR() to validate the returned value instead of IS_ERR_OR_NULL(). And delete the extra line. Signed-off-by: Zhang Shengju <[email protected]> Signed-off-by: Tang Bin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions