Revert "rk292x (v86 & tr726) :add sd-vcc control while sd hw initial"
author黄涛 <huangtao@rock-chips.com>
Wed, 28 Nov 2012 05:21:33 +0000 (13:21 +0800)
committer黄涛 <huangtao@rock-chips.com>
Wed, 28 Nov 2012 05:21:33 +0000 (13:21 +0800)
This reverts commit 64a1ccaaecab8c4e6c1360877c66a6980a7e5332.

Only revert block/blk-core.c and fs/fat/misc.c change.

block/blk-core.c
fs/fat/misc.c

index 6f80fe23587e2dce6f1e27cdf2453193ca272526..b7cd1a4f3d84492c7744f9450611fd49ff545dce 100755 (executable)
@@ -2037,18 +2037,9 @@ bool blk_update_request(struct request *req, int error, unsigned int nr_bytes)
                        error_type = "I/O";
                        break;
                }
-#if 0
-#if defined(CONFIG_SDMMC_RK29) && !defined(CONFIG_SDMMC_RK29_OLD)  //Modifyed by xbw at 2011-21-14
-        printk(KERN_DEBUG "end_request: %s error, dev %s, sector %llu\n",
-               error_type, req->rq_disk ? req->rq_disk->disk_name : "?",
-               (unsigned long long)blk_rq_pos(req));
-
-#else
-               printk(KERN_ERR "end_request: %s error, dev %s, sector %llu\n",
+               printk(KERN_DEBUG "end_request: %s error, dev %s, sector %llu\n",
                       error_type, req->rq_disk ? req->rq_disk->disk_name : "?",
                       (unsigned long long)blk_rq_pos(req));
-#endif
-#endif      
        }
 
        blk_account_io_completion(req, nr_bytes);
index c168c27bb70929f69a653987759fcd9bcdbce2bb..6d93360ca0ccec574f941dd72d2f4c32f94865b0 100644 (file)
@@ -50,7 +50,6 @@ EXPORT_SYMBOL_GPL(__fat_fs_error);
  */
 void fat_msg(struct super_block *sb, const char *level, const char *fmt, ...)
 {
-        #if 0
        struct va_format vaf;
        va_list args;
 
@@ -59,7 +58,6 @@ void fat_msg(struct super_block *sb, const char *level, const char *fmt, ...)
        vaf.va = &args;
        printk("%sFAT-fs (%s): %pV\n", level, sb->s_id, &vaf);
        va_end(args);
-        #endif
 }
 
 /* Flushes the number of free clusters on FAT32 */