diff options
author | Manuel Schölling <manuel.schoelling@gmx.de> | 2014-06-06 14:36:38 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-06 16:08:11 -0700 |
commit | ef19470ef87d06ed906e2fbb6c9aeb7aaa9acc56 (patch) | |
tree | dfc734082af8331d2ab8a4c05e96c250ebc87c07 /fs/cramfs/README | |
parent | 190a8843ded231638d0e7ae7d8ca6a712472d114 (diff) |
fs/fat/inode.c: clean up string initializations (char[] instead of char *)
Initializations like 'char *foo = "bar"' will create two variables: a
static string and a pointer (foo) to that static string. Instead 'char
foo[] = "bar"' will declare a single variable and will end up in shorter
assembly (according to Jeff Garzik on the KernelJanitor's TODO list).
Signed-off-by: Manuel Schölling <manuel.schoelling@gmx.de>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/cramfs/README')
0 files changed, 0 insertions, 0 deletions