diff options
author | Colin Ian King | 2019-02-19 13:43:33 +0000 |
---|---|---|
committer | Greg Kroah-Hartman | 2019-02-20 11:29:01 +0100 |
commit | eb76b37aaf7e6bdd6638bf5b2ef29688645e03b8 (patch) | |
tree | a5cb5f0fb0660230cfdd7ebf2d17facf99eda733 /drivers/parisc | |
parent | 98bba546e82d7785b9560c6b141b73ac8d3d820f (diff) |
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")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/parisc')
0 files changed, 0 insertions, 0 deletions