summaryrefslogtreecommitdiff
path: root/components/drivers
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-02-18 15:04:19 +0000
committer[email protected] <[email protected]>2012-02-18 15:04:19 +0000
commit3c6c8063ce509d3110f32b3a570c13e220728829 (patch)
tree97a2bf174441d3746e489b4a2e105f9589fd2d31 /components/drivers
parent5d2d94eb3d78cd40a6037f50c8d3c75b2639bd05 (diff)
code cleanup.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1966 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/drivers')
-rw-r--r--components/drivers/sdio/SConscript3
-rw-r--r--components/drivers/sdio/sd.c3
2 files changed, 1 insertions, 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;