diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2023-12-24 18:44:13 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2024-01-22 14:16:43 +0300 |
commit | 9e1b5ab82171cb30b79e0fdb75f5d9612c686c53 (patch) | |
tree | 12c4f7aefd578fb4a1a19123a575c54c92037b2f /drivers | |
parent | 6b1e2e04b4515aa37e5fce529de975632f302819 (diff) | |
download | linux-9e1b5ab82171cb30b79e0fdb75f5d9612c686c53.tar.xz |
media: s5p-mfc: drop useless static s5p_mfc_dev in s5p_mfc_pm.c
Pointer "struct s5p_mfc_dev" is stored in s5p_mfc_pm.c once and never
used again.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/platform/samsung/s5p-mfc/s5p_mfc_pm.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_pm.c b/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_pm.c index 29b141d4a7a7..ecb3065c33c9 100644 --- a/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_pm.c +++ b/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_pm.c @@ -15,15 +15,12 @@ #include "s5p_mfc_pm.h" static struct s5p_mfc_pm *pm; -static struct s5p_mfc_dev *p_dev; int s5p_mfc_init_pm(struct s5p_mfc_dev *dev) { int i; pm = &dev->pm; - p_dev = dev; - pm->num_clocks = dev->variant->num_clocks; pm->clk_names = dev->variant->clk_names; pm->device = &dev->plat_dev->dev; |