Skip to content
Commit 06564be4 authored by ye xingchen's avatar ye xingchen Committed by Mathieu Poirier
Browse files

rpmsg: char: Remove the unneeded result variable



Return the value rpmsg_chrdev_eptdev_add() directly instead of storing it
in another redundant variable.

Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarye xingchen <ye.xingchen@zte.com.cn>
Link: https://lore.kernel.org/r/20220826071954.252485-1-ye.xingchen@zte.com.cn


Signed-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
parent 1c23f9e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment