From 13c111aaece4d2bd06c41a55aee4abcb256a2774 Mon Sep 17 00:00:00 2001 From: Barry Wardell Date: Tue, 10 Apr 2007 01:22:52 +0000 Subject: [PATCH] Remove unused code (already moved to target tree). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13091 a1c6a512-1295-4272-9138-f99709370657 --- firmware/usb.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/firmware/usb.c b/firmware/usb.c index aa6981ddf2..13adc3b391 100644 --- a/firmware/usb.c +++ b/firmware/usb.c @@ -138,13 +138,6 @@ void usb_enable(bool on) or_b(0x08, &PADRL); /* deassert card detect */ } or_b(0x28, &PAIORL); /* output for USB enable and card detect */ -#elif defined(USB_ISP1582) - /* TODO: Implement USB_ISP1582 */ - (void) on; -#elif defined(USB_X5M5_STYLE) - /* TODO X5 */ -#elif defined(USB_GIGABEAT_STYLE) - /* TODO gigabeat */ #else #ifdef HAVE_LCD_BITMAP if(read_hw_mask() & USB_ACTIVE_HIGH) @@ -350,10 +343,6 @@ bool usb_detect(void) #endif #ifdef USB_PLAYERSTYLE current_status = (PADR & 0x8000)?false:true; -#endif -#ifdef USB_ISP1582 - /* TODO: Implement USB_ISP1582 */ - current_status = false; #endif return current_status; }