From 5ad3b350a65d73e9ad7f50de8eb657d7274b7640 Mon Sep 17 00:00:00 2001 From: Minkyu Kang Date: Fri, 26 Feb 2010 14:42:44 +0900 Subject: [PATCH] s5pc1xx: usb: remove unused functions Signed-off-by: Minkyu Kang --- cpu/arm_cortexa8/s5pc1xx/usb-hs-otg.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/cpu/arm_cortexa8/s5pc1xx/usb-hs-otg.c b/cpu/arm_cortexa8/s5pc1xx/usb-hs-otg.c index 85df1ad..8cc6181 100644 --- a/cpu/arm_cortexa8/s5pc1xx/usb-hs-otg.c +++ b/cpu/arm_cortexa8/s5pc1xx/usb-hs-otg.c @@ -1436,20 +1436,6 @@ static void s5p_usb_set_descriptors(void) otg.desc.ep2.bInterval = 0x0; } -static void s5p_usb_check_speed(USB_SPEED *speed) -{ - u32 status; - - status = s5pc1xx_otg_read_reg(OTG_DSTS); - - *speed = (USB_SPEED)((status & 0x6) >> 1); -} - -static int s5p_usb_check_setconf(void) -{ - return otg.set_config; -} - static void s5p_usb_set_opmode(USB_OPMODE mode) { otg.op_mode = mode; -- 2.7.4