From: Rickard Strandqvist Date: Mon, 7 Jul 2014 11:52:31 +0000 (-0700) Subject: ARM: omap2+: usb-tusb6010.c: Cleaning up variable is set more than once X-Git-Tag: v3.17-rc1~80^2^2~1^2~3 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=cb4ab22f722b6d550a078747390a26570fb0e208;p=karo-tx-linux.git 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: Rickard Strandqvist Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/usb-tusb6010.c b/arch/arm/mach-omap2/usb-tusb6010.c index e832bc7b8e2d..8333400898fb 100644 --- a/arch/arm/mach-omap2/usb-tusb6010.c +++ b/arch/arm/mach-omap2/usb-tusb6010.c @@ -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);