]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
i2c: nomadik: Remove unnecessary goto label
authorAndi Shyti <andi.shyti@kernel.org>
Sun, 11 Jun 2023 01:36:59 +0000 (03:36 +0200)
committerRoxana Nicolescu <roxana.nicolescu@canonical.com>
Mon, 2 Oct 2023 15:20:44 +0000 (17:20 +0200)
commitfb240e1e7f69dbbacdfdec5b3ac7b3cbbaf294d0
treee2a0a2cb6d84e0fe428155dffcc8f3c336e42c2f
parent037b713d23ab5609693e4e56fa3b79b7ea5787e1
i2c: nomadik: Remove unnecessary goto label

BugLink: https://bugs.launchpad.net/bugs/2037005
[ Upstream commit 1c5d33fff0d375e4ab7c4261dc62a286babbb4c6 ]

The err_no_mem goto label doesn't do anything. Remove it.

Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Stable-dep-of: 05f933d5f731 ("i2c: nomadik: Remove a useless call in the remove function")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Roxana Nicolescu <roxana.nicolescu@canonical.com>
drivers/i2c/busses/i2c-nomadik.c