提交 cb4ab22f 编写于 作者: R Rickard Strandqvist 提交者: Tony Lindgren

ARM: omap2+: usb-tusb6010.c: Cleaning up variable is set more than once

A struct member variable is set to the same value more than once

This was found using a static code analysis program called cppcheck.
Signed-off-by: NRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: NTony Lindgren <tony@atomide.com>
上级 cd3de83f
...@@ -95,7 +95,6 @@ static int tusb_set_sync_mode(unsigned sysclk_ps) ...@@ -95,7 +95,6 @@ static int tusb_set_sync_mode(unsigned sysclk_ps)
dev_t.t_avdp_w = t_scsnh_advnh; dev_t.t_avdp_w = t_scsnh_advnh;
dev_t.cyc_aavdh_we = 3; dev_t.cyc_aavdh_we = 3;
dev_t.cyc_wpl = 6; dev_t.cyc_wpl = 6;
dev_t.t_ce_rdyz = 7000;
gpmc_calc_timings(&t, &tusb_sync, &dev_t); gpmc_calc_timings(&t, &tusb_sync, &dev_t);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册