Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 31abdb63 authored by Pavel Rojtberg's avatar Pavel Rojtberg Committed by Greg Kroah-Hartman
Browse files

Input: xpad - simplify error condition in init_output



[ Upstream commit a8c34e27fb1ece928ec728bfe596aa6ca0b1928a ]

Replace first goto with simple returns as we really are just returning
one error code.

Signed-off-by: default avatarPavel Rojtberg <rojtberg@gmail.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 69f7143d
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