From 3c6c8063ce509d3110f32b3a570c13e220728829 Mon Sep 17 00:00:00 2001 From: "bernard.xiong@gmail.com" Date: Sat, 18 Feb 2012 15:04:19 +0000 Subject: [PATCH] code cleanup. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1966 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/drivers/sdio/SConscript | 3 +-- components/drivers/sdio/sd.c | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/components/drivers/sdio/SConscript b/components/drivers/sdio/SConscript index dfe7075a5e..2c11a2b0f5 100644 --- a/components/drivers/sdio/SConscript +++ b/components/drivers/sdio/SConscript @@ -1,8 +1,7 @@ Import('RTT_ROOT') from building import * -cwd = GetCurrentDir() - +cwd = GetCurrentDir() src = Split(""" block_dev.c mmcsd_core.c diff --git a/components/drivers/sdio/sd.c b/components/drivers/sdio/sd.c index 39c00ea688..49f746235b 100644 --- a/components/drivers/sdio/sd.c +++ b/components/drivers/sdio/sd.c @@ -275,9 +275,6 @@ err1: return err; } - - - static rt_err_t mmcsd_app_cmd(struct rt_mmcsd_host *host, struct rt_mmcsd_card *card) { rt_err_t err;