Commit 4543d758 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] stack reductions: nfs root

From: Arjan van de Ven <arjanv@redhat.com>

root_nfs_name is called one in single threaded environment; can use static.
parent 3de1b14f
......@@ -273,7 +273,7 @@ static int __init root_nfs_parse(char *name, char *buf)
*/
static int __init root_nfs_name(char *name)
{
char buf[NFS_MAXPATHLEN];
static char buf[NFS_MAXPATHLEN];
char *cp;
/* Set some default values */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment