diff options
| author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-05-11 17:03:21 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-14 16:56:54 +0200 |
| commit | 2b541b6c7432adb6cff21727515a7d94c037c30d (patch) | |
| tree | d2a2cc007495b803c4bfd78b9f026f8b594425ac /drivers | |
| parent | 2b58f5154a8f50b6d1efd6665bf53e40429cd570 (diff) | |
| download | linux-2b541b6c7432adb6cff21727515a7d94c037c30d.tar.gz linux-2b541b6c7432adb6cff21727515a7d94c037c30d.tar.bz2 linux-2b541b6c7432adb6cff21727515a7d94c037c30d.zip | |
media: exynos4-is: remove a now unused integer
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>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/media/platform/exynos4-is/media-dev.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/platform/exynos4-is/media-dev.c b/drivers/media/platform/exynos4-is/media-dev.c index 1272f4703b81..a9a8f0433fb2 100644 --- a/drivers/media/platform/exynos4-is/media-dev.c +++ b/drivers/media/platform/exynos4-is/media-dev.c @@ -1280,7 +1280,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; |
