diff options
Diffstat (limited to 'drivers/base/devtmpfs.c')
-rw-r--r-- | drivers/base/devtmpfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/devtmpfs.c b/drivers/base/devtmpfs.c index b89fffc1d777..33e1bed68fdd 100644 --- a/drivers/base/devtmpfs.c +++ b/drivers/base/devtmpfs.c | |||
@@ -166,7 +166,7 @@ static int create_path(const char *nodepath) | |||
166 | { | 166 | { |
167 | char *path; | 167 | char *path; |
168 | char *s; | 168 | char *s; |
169 | int err; | 169 | int err = 0; |
170 | 170 | ||
171 | /* parent directories do not exist, create them */ | 171 | /* parent directories do not exist, create them */ |
172 | path = kstrdup(nodepath, GFP_KERNEL); | 172 | path = kstrdup(nodepath, GFP_KERNEL); |