public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] FILESYSTEMS:  Delete unused "int dummy[5]" from inodes_stat_t.
@ 2007-05-29 17:11 Robert P. J. Day
  2007-05-29 18:00 ` Andrew Morton
  2007-05-29 18:04 ` [PATCH] FILESYSTEMS: Delete unused "int dummy[5]" from inodes_stat_t Alexey Dobriyan
  0 siblings, 2 replies; 14+ messages in thread
From: Robert P. J. Day @ 2007-05-29 17:11 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: Andrew Morton, Alexander Viro


Delete the apparently unused array "int dummy[5]" from struct
inodes_stat_t.

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>

---

  no idea what that array is for, but no one seems to care about it.
removal compile-tested on x86 with "make allyesconfig" and nobody
misses it (unless it's used for padding of some kind).


diff --git a/include/linux/fs.h b/include/linux/fs.h
index 7cf0c54..dec83dd 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -44,7 +44,6 @@ extern int get_max_files(void);
 struct inodes_stat_t {
 	int nr_inodes;
 	int nr_unused;
-	int dummy[5];
 };
 extern struct inodes_stat_t inodes_stat;

-- 
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2007-05-30 19:21 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-29 17:11 [PATCH] FILESYSTEMS: Delete unused "int dummy[5]" from inodes_stat_t Robert P. J. Day
2007-05-29 18:00 ` Andrew Morton
2007-05-29 18:07   ` Robert P. J. Day
2007-05-29 18:19     ` Randy Dunlap
2007-05-29 18:21       ` Robert P. J. Day
2007-05-29 18:33         ` Randy Dunlap
2007-05-29 18:44           ` Josh Boyer
2007-05-29 19:33             ` Randy Dunlap
2007-05-30  6:41               ` Stefan Richter
2007-05-30 11:29                 ` Adrian Bunk
2007-05-30 11:38                   ` Robert P. J. Day
2007-05-30 19:01                     ` [trivial PATCH, updated] fs: clarify "dummy" member in struct inodes_stat_t Stefan Richter
2007-05-30 19:16                       ` Randy Dunlap
2007-05-29 18:04 ` [PATCH] FILESYSTEMS: Delete unused "int dummy[5]" from inodes_stat_t Alexey Dobriyan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox