]> rtime.felk.cvut.cz Git - linux-imx.git/blobdiff - drivers/char/random.c
random: make it possible to enable debugging without rebuild
[linux-imx.git] / drivers / char / random.c
index b86eae9b77dfaeb04dd2d4efefd6ebc01b9e0a93..9ac4443a185427c763b77b1e74ab6bdd2ff1455c 100644 (file)
@@ -399,7 +399,6 @@ static DECLARE_WAIT_QUEUE_HEAD(random_read_wait);
 static DECLARE_WAIT_QUEUE_HEAD(random_write_wait);
 static struct fasync_struct *fasync;
 
-#if 0
 static bool debug;
 module_param(debug, bool, 0644);
 #define DEBUG_ENT(fmt, arg...) do { \
@@ -410,9 +409,6 @@ module_param(debug, bool, 0644);
                blocking_pool.entropy_count,\
                nonblocking_pool.entropy_count,\
                ## arg); } while (0)
-#else
-#define DEBUG_ENT(fmt, arg...) do {} while (0)
-#endif
 
 /**********************************************************************
  *