]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
media: exynos4-is: remove a now unused integer
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 11 May 2021 15:03:21 +0000 (17:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Jul 2021 15:00:32 +0000 (17:00 +0200)
commit 29dd19e3ac7b2a8671ebeac02859232ce0e34f58 upstream.

The usage of pm_runtime_resume_and_get() removed the need of a
temporary integer. So, drop it.

Fixes: 59f96244af94 ("media: exynos4-is: fix pm_runtime_get_sync() usage count")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/platform/exynos4-is/media-dev.c

index 4424050a22e441c985ecf047200ffb03463643b4..f7b08dbe25edb9a1fc9563ef4907d22c036db618 100644 (file)
@@ -1282,7 +1282,6 @@ static DEVICE_ATTR(subdev_conf_mode, S_IWUSR | S_IRUGO,
 static int cam_clk_prepare(struct clk_hw *hw)
 {
        struct cam_clk *camclk = to_cam_clk(hw);
-       int ret;
 
        if (camclk->fmd->pmf == NULL)
                return -ENODEV;