From: Karel Zak Date: Thu, 3 May 2012 10:19:52 +0000 (+0200) Subject: lslock: remove duplicate variable X-Git-Tag: v2.22-rc1~454 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0bda832322dc426583477c05f640ca3acbbe8886;p=thirdparty%2Futil-linux.git lslock: remove duplicate variable Signed-off-by: Karel Zak --- diff --git a/misc-utils/lslocks.c b/misc-utils/lslocks.c index dd7183f9da..2f9093de82 100644 --- a/misc-utils/lslocks.c +++ b/misc-utils/lslocks.c @@ -78,8 +78,6 @@ static struct colinfo infos[] = { #define NCOLS ARRAY_SIZE(infos) static int columns[NCOLS], ncolumns; static pid_t pid = 0; -/* array with IDs of enabled columns */ -static int columns[NCOLS], ncolumns; struct lock { struct list_head locks;