Skip to content

Commit

Permalink
ARM: omap2+: usb-tusb6010.c: Cleaning up variable is set more than once
Browse files Browse the repository at this point in the history
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: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Rickard Strandqvist authored and Tony Lindgren committed Jul 7, 2014
1 parent cd3de83 commit cb4ab22
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/arm/mach-omap2/usb-tusb6010.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ static int tusb_set_sync_mode(unsigned sysclk_ps)
dev_t.t_avdp_w = t_scsnh_advnh;
dev_t.cyc_aavdh_we = 3;
dev_t.cyc_wpl = 6;
dev_t.t_ce_rdyz = 7000;

gpmc_calc_timings(&t, &tusb_sync, &dev_t);

Expand Down

0 comments on commit cb4ab22

Please sign in to comment.