summaryrefslogtreecommitdiffstats
path: root/sys-utils/zramctl.c
diff options
context:
space:
mode:
authorJames Sanford2017-10-14 09:57:05 +0200
committerJames Sanford2017-10-14 09:57:05 +0200
commit4847bb5ee966e8798fa6056859c0f46e2d075f15 (patch)
tree2ef0a77e741416fc9f88a0338b10b46b15e2ea08 /sys-utils/zramctl.c
parentrfkill: fix typo [coverity scan] (diff)
downloadkernel-qcow2-util-linux-4847bb5ee966e8798fa6056859c0f46e2d075f15.tar.gz
kernel-qcow2-util-linux-4847bb5ee966e8798fa6056859c0f46e2d075f15.tar.xz
kernel-qcow2-util-linux-4847bb5ee966e8798fa6056859c0f46e2d075f15.zip
zramctl: remove unused ZRAM_EMPTY and blank line
Diffstat (limited to 'sys-utils/zramctl.c')
-rw-r--r--sys-utils/zramctl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys-utils/zramctl.c b/sys-utils/zramctl.c
index aee28cc01..425a8c341 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);