staging: mt7621-mmc: Remove #if 0 blocks in dbg.h
authorNishad Kamdar <nishadkamdar@gmail.com>
Thu, 4 Oct 2018 16:37:26 +0000 (22:07 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Oct 2018 13:13:24 +0000 (15:13 +0200)
This patch removes #if 0 code blocks and usages of
functions defined in the #if 0 blocks in dbg.h.

Signed-off-by: Nishad Kamdar <nishadkamdar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-mmc/dbg.h

index 4ab9f10dccc277b19f1464e04511f6f7f358758a..89acf590ed114aef4286b25d85919a2be41ac0eb 100644 (file)
@@ -91,23 +91,8 @@ enum msdc_dbg {
 
 extern unsigned int sd_debug_zone[4];
 #define TAG "msdc"
-#if 0 /* +++ chhung */
-#define BUG_ON(x) \
-do { \
-       if (x) { \
-               printk("[BUG] %s LINE:%d FILE:%s\n", #x, __LINE__, __FILE__); \
-               while (1)                                               \
-                       ;                                               \
-       } \
-} while (0)
-#endif /* end of +++ */
-
 void msdc_debug_proc_init(void);
 
-#if 0 /* --- chhung */
-void msdc_init_gpt(void);
-extern void GPT_GetCounter64(UINT32 *cntL32, UINT32 *cntH32);
-#endif /* end of --- */
 u32 msdc_time_calc(u32 old_L32, u32 old_H32, u32 new_L32, u32 new_H32);
 void msdc_performance(u32 opcode, u32 sizes, u32 bRx, u32 ticks);