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 2fce291db643bf0b1363a143df2390e3178da096..9c47cc6a10ef7048323e6c8a728d3779836489ea 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;
 
-               fprintf(stderr, "swapfile: %s\n", m->target);
-
                if (stat(m->target, &s) || !S_ISREG(s.st_mode))
                        continue;
 
@@ -609,8 +607,6 @@ static void handle_swapfiles(bool on)
                if (!pr)
                        continue;
 
-               fprintf(stderr, "probe: %p\n", pr);
-
                if (!strcmp(pr->id->name, "swap")) {
                        if (on)
                                swapon(pr->dev, m->prio);