block: remove debug prints
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 16 Aug 2013 12:56:20 +0000 (14:56 +0200)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 16 Aug 2013 12:56:20 +0000 (14:56 +0200)
block.c

diff --git a/block.c b/block.c
index 2fce291..9c47cc6 100644 (file)
--- a/block.c
+++ b/block.c
@@ -599,8 +599,6 @@ static void handle_swapfiles(bool on)
                if (m->type != TYPE_SWAP || !m->target)
                        continue;
 
                if (m->type != TYPE_SWAP || !m->target)
                        continue;
 
-               fprintf(stderr, "swapfile: %s\n", m->target);
-
                if (stat(m->target, &s) || !S_ISREG(s.st_mode))
                        continue;
 
                if (stat(m->target, &s) || !S_ISREG(s.st_mode))
                        continue;
 
@@ -609,8 +607,6 @@ static void handle_swapfiles(bool on)
                if (!pr)
                        continue;
 
                if (!pr)
                        continue;
 
-               fprintf(stderr, "probe: %p\n", pr);
-
                if (!strcmp(pr->id->name, "swap")) {
                        if (on)
                                swapon(pr->dev, m->prio);
                if (!strcmp(pr->id->name, "swap")) {
                        if (on)
                                swapon(pr->dev, m->prio);