ARM: sc8830: fdl: remove build warnings
[profile/mobile/platform/kernel/u-boot-tm1.git] / nand_fdl / common / src / fdl_channel.c
index 4d2b765..4d3b077 100644 (file)
@@ -16,10 +16,9 @@ extern uint32 FDL_GetBootMode (void);
 //  Author:         junqiang.wang
 //  Note:
 /******************************************************************************/
-PUBLIC struct FDL_ChannelHandler *FDL_ChannelGet()
+PUBLIC struct FDL_ChannelHandler *FDL_ChannelGet(void)
 {
     uint32 bootMode = 0;
-    char ch;
 
     struct FDL_ChannelHandler *channel;
     bootMode = FDL_GetBootMode();