diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-06-05 11:34:48 (GMT) |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2013-06-06 15:52:08 (GMT) |
commit | 4a1c7b13ae104d4526d3176793b7f6b06694df15 (patch) | |
tree | 007fa8289008791e96483d93241ba692fa14c95d /board/freescale/vf610twr/vf610twr.c | |
parent | 7fb72c7979dd3e73a8ac75730e5eda5538dce8f2 (diff) | |
download | u-boot-4a1c7b13ae104d4526d3176793b7f6b06694df15.tar.xz |
vf610twr: Drop unneeded 'status' variable
No need to use the 'status' variable, so just remove it.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'board/freescale/vf610twr/vf610twr.c')
-rw-r--r-- | board/freescale/vf610twr/vf610twr.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/board/freescale/vf610twr/vf610twr.c b/board/freescale/vf610twr/vf610twr.c index 04fa882..f14df8b 100644 --- a/board/freescale/vf610twr/vf610twr.c +++ b/board/freescale/vf610twr/vf610twr.c @@ -301,16 +301,13 @@ int board_mmc_init(bd_t *bis) NEW_PAD_CTRL(VF610_PAD_PTA28__ESDHC1_DAT2, ESDHC_PAD_CTRL), NEW_PAD_CTRL(VF610_PAD_PTA29__ESDHC1_DAT3, ESDHC_PAD_CTRL), }; - s32 status = 0; esdhc_cfg[0].sdhc_clk = mxc_get_clock(MXC_ESDHC_CLK); imx_iomux_v3_setup_multiple_pads( esdhc1_pads, ARRAY_SIZE(esdhc1_pads)); - status |= fsl_esdhc_initialize(bis, &esdhc_cfg[0]); - - return status; + return fsl_esdhc_initialize(bis, &esdhc_cfg[0]); } #endif |