]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
swapon: kill unused variables in show_table()
authorPetr Uzel <petr.uzel@suse.cz>
Thu, 12 Jul 2012 08:09:58 +0000 (10:09 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 16 Jul 2012 16:09:21 +0000 (18:09 +0200)
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
sys-utils/swapon.c

index 0858894c4fce4f20667c9e27a49827d8984f3128..05d025c00e681f5e1fe51cd7e9ce5b66a16779ba 100644 (file)
@@ -216,7 +216,6 @@ static int show_table(int tt_flags, int bytes)
        struct libmnt_fs *fs;
 
        int i, rc = 0;
-       struct list_head *p, *pnext;
        struct tt *tt;
 
        if (!st)