diff options
author | Koushik Dutta <koushd@gmail.com> | 2011-05-30 15:21:44 -0700 |
---|---|---|
committer | Koushik Dutta <koushd@gmail.com> | 2011-05-30 15:21:44 -0700 |
commit | b2d30187d6884ddbca35cd0fb81e55be2ab78f4c (patch) | |
tree | 4b8fa3292f3d42ccc07f14dee02a603fb1654102 /flashutils | |
parent | 195e06be59d1868b00544634da673a0eae3b103e (diff) | |
download | bootable_recovery-b2d30187d6884ddbca35cd0fb81e55be2ab78f4c.zip bootable_recovery-b2d30187d6884ddbca35cd0fb81e55be2ab78f4c.tar.gz bootable_recovery-b2d30187d6884ddbca35cd0fb81e55be2ab78f4c.tar.bz2 |
remove logging, fix bug
Change-Id: Ia7d0f5e7cdf64235bb2142d9143fff3f289ad605
Diffstat (limited to 'flashutils')
-rw-r--r-- | flashutils/flashutils.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/flashutils/flashutils.c b/flashutils/flashutils.c index 2addc72..fa4b1f5 100644 --- a/flashutils/flashutils.c +++ b/flashutils/flashutils.c @@ -71,7 +71,6 @@ __system(const char *command) } int get_flash_type(const char* partitionType) { - printf("get_flash_type partitionType: %s\n", partitionType); int type = UNSUPPORTED; if (strcmp(partitionType, "mtd") == 0) type = MTD; @@ -79,7 +78,6 @@ int get_flash_type(const char* partitionType) { type = MMC; else if (strcmp(partitionType, "bml") == 0) type = BML; - printf("get_flash_type type: %d\n", type); return type; } @@ -97,10 +95,7 @@ static int detect_partition(const char *partitionType, const char *partition) type = get_flash_type(partitionType); } - printf("partitionType: %s\n", partitionType); - printf("partition: %s\n", partition); - printf("detected type: %d\n", type); - return type; + return type; } int restore_raw_partition(const char* partitionType, const char *partition, const char *filename) { |