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

Commit cc96cdc8 authored by Colin Ian King's avatar Colin Ian King Committed by Greg Kroah-Hartman
Browse files

phy: tegra: remove redundant self assignment of 'map'



commit a0dd6773038f3fd2bd1b4f7ec193887cffc49046 upstream.

The assignment of map to itself is redundant and can be removed.
Detected with Coccinelle.

Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
Cc: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f6de4ca8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -418,7 +418,7 @@ tegra_xusb_port_find_lane(struct tegra_xusb_port *port,
{
	struct tegra_xusb_lane *lane, *match = ERR_PTR(-ENODEV);

	for (map = map; map->type; map++) {
	for (; map->type; map++) {
		if (port->index != map->port)
			continue;