Kaynağa Gözat

video-driver: Delete not used clock_config_on_enable op

The operation is not used anywhere, delete it.

Change-Id: I4fe7cd41d63ea1b1e0792de6b3e98757860629d8
Signed-off-by: Stanimir Varbanov <[email protected]>
Stanimir Varbanov 3 yıl önce
ebeveyn
işleme
a558b04808

+ 0 - 1
driver/variant/iris2/src/msm_vidc_iris2.c

@@ -1185,7 +1185,6 @@ static struct msm_vidc_venus_ops iris2_ops = {
 	.boot_firmware = __boot_firmware_iris2,
 	.raise_interrupt = __raise_interrupt_iris2,
 	.clear_interrupt = __clear_interrupt_iris2,
-	.clock_config_on_enable = NULL,
 	.reset_ahb2axi_bridge = __reset_ahb2axi_bridge,
 	.power_on = __power_on_iris2,
 	.power_off = __power_off_iris2,

+ 0 - 1
driver/variant/iris3/src/msm_vidc_iris3.c

@@ -1263,7 +1263,6 @@ static struct msm_vidc_venus_ops iris3_ops = {
 	.boot_firmware = __boot_firmware_iris3,
 	.raise_interrupt = __raise_interrupt_iris3,
 	.clear_interrupt = __clear_interrupt_iris3,
-	.clock_config_on_enable = NULL,
 	.reset_ahb2axi_bridge = __reset_ahb2axi_bridge,
 	.power_on = __power_on_iris3,
 	.power_off = __power_off_iris3,

+ 0 - 1
driver/vidc/inc/msm_vidc_core.h

@@ -22,7 +22,6 @@ struct msm_vidc_core;
 struct msm_vidc_venus_ops {
 	int (*boot_firmware)(struct msm_vidc_core *core);
 	int (*reset_ahb2axi_bridge)(struct msm_vidc_core *core);
-	int (*clock_config_on_enable)(struct msm_vidc_core *core);
 	int (*raise_interrupt)(struct msm_vidc_core *core);
 	int (*clear_interrupt)(struct msm_vidc_core *core);
 	int (*prepare_pc)(struct msm_vidc_core *core);