Skip to content

Commit

Permalink
osd: clean up deadcode
Browse files Browse the repository at this point in the history
PD#150472: driver defect clean up:
torvalds#118
torvalds#147

Change-Id: I5eb405b884e05d42f238db43c9d3a16255f06d84
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
  • Loading branch information
Pengcheng Chen authored and akiernan committed Nov 3, 2022
1 parent 8b8c51e commit 16db9f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/amlogic/media/osd/osd_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -2574,7 +2574,7 @@ static void osd1_update_disp_freescale_enable(void)
hsc_ini_rcv_num = hf_bank_len;
vsc_ini_rcv_num = vf_bank_len;
hsc_ini_rpt_p0_num =
(hf_bank_len / 2 - 1) > 0 ? (hf_bank_len / 2 - 1) : 0;
hf_bank_len / 2 - 1;
vsc_ini_rpt_p0_num =
(vf_bank_len / 2 - 1) > 0 ? (vf_bank_len / 2 - 1) : 0;

Expand Down Expand Up @@ -2727,7 +2727,7 @@ static void osd2_update_disp_freescale_enable(void)
hsc_ini_rcv_num = hf_bank_len;
vsc_ini_rcv_num = vf_bank_len;
hsc_ini_rpt_p0_num =
(hf_bank_len / 2 - 1) > 0 ? (hf_bank_len / 2 - 1) : 0;
hf_bank_len / 2 - 1;
vsc_ini_rpt_p0_num =
(vf_bank_len / 2 - 1) > 0 ? (vf_bank_len / 2 - 1) : 0;

Expand Down

0 comments on commit 16db9f0

Please sign in to comment.