From: James Sanford Date: Sat, 14 Oct 2017 07:57:05 +0000 (-0700) Subject: zramctl: remove unused ZRAM_EMPTY and blank line X-Git-Tag: v2.31~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4847bb5ee966e8798fa6056859c0f46e2d075f15;p=thirdparty%2Futil-linux.git zramctl: remove unused ZRAM_EMPTY and blank line --- diff --git a/sys-utils/zramctl.c b/sys-utils/zramctl.c index aee28cc01d..425a8c3418 100644 --- a/sys-utils/zramctl.c +++ b/sys-utils/zramctl.c @@ -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);