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

Commit 07c52eb3 authored by Colin Ian King's avatar Colin Ian King Committed by Will McVicker
Browse files

UPSTREAM: usb: typec: mux: remove redundant check on variable match



All the code paths that lead to the return statement are where
match is always true, hence the check to see if it is true is
redundant and can be removed.

Detected by CoverityScan, CID#14769672 ("Logically dead code")

Bug: 150877929
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Acked-by: default avatarHeikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Change-Id: Iedfd85df7b0719ff0b9dc4431188850921157e57
Signed-off-by: default avatarWill McVicker <willmcvicker@google.com>
(cherry picked from commit eb76b37aaf7e6bdd6638bf5b2ef29688645e03b8)
parent e37ad472
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