]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
zramctl: remove unused ZRAM_EMPTY and blank line
authorJames Sanford <jsanfordgit@froop.com>
Sat, 14 Oct 2017 07:57:05 +0000 (00:57 -0700)
committerJames Sanford <jsanfordgit@froop.com>
Sat, 14 Oct 2017 07:57:05 +0000 (00:57 -0700)
sys-utils/zramctl.c

index aee28cc01d18d4c81576dc161a013368da517cc6..425a8c34184c3e921fb3692b608f637966b27113 100644 (file)
@@ -107,7 +107,6 @@ static const char *mm_stat_names[] = {
        [MM_NUM_MIGRATED]    = "num_migrated"
 };
 
-
 struct zram {
        char    devname[32];
        struct sysfs_cxt sysfs;
@@ -118,11 +117,8 @@ struct zram {
                     has_control : 1;   /* has /sys/class/zram-control/ */
 };
 
-#define ZRAM_EMPTY     { .devname = { '\0' }, .sysfs = UL_SYSFSCXT_EMPTY }
-
 static unsigned int raw, no_headings, inbytes;
 
-
 static int get_column_id(int num)
 {
        assert(num < ncolumns);