]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Aug 2023 08:22:27 +0000 (10:22 +0200)
commit4954c870533991aeb93ab42a0bb686921229988b
tree1703f352cdb0da98c725ecae15c999455308951d
parent24562f0a46ada3e9d0763e3c80b5a11893fe2b98
i2c: nomadik: Remove unnecessary goto label

[ 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>
drivers/i2c/busses/i2c-nomadik.c