Commit ed160b60 authored by Jinjie Ruan's avatar Jinjie Ruan Committed by Felix Fietkau
Browse files

wifi: mt76: Use PTR_ERR_OR_ZERO() to simplify code



Return PTR_ERR_OR_ZERO() instead of return 0 or PTR_ERR() to
simplify code.

Signed-off-by: default avatarJinjie Ruan <ruanjinjie@huawei.com>
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 377844a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment