mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 14:44:12 +00:00
phy: tegra: remove redundant self assignment of 'map'
commit a0dd677303
upstream.
The assignment of map to itself is redundant and can be removed.
Detected with Coccinelle.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Cc: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
87e964d19f
commit
ffd36a6801
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue