diff options
Diffstat (limited to 'fs/pstore/fs.c')
-rw-r--r-- | fs/pstore/fs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/pstore/fs.c b/fs/pstore/fs.c index 0e05d48ea0..a879a68064 100644 --- a/fs/pstore/fs.c +++ b/fs/pstore/fs.c @@ -64,8 +64,6 @@ int pstore_mkfile(enum pstore_type_id type, char *psname, u64 id, int count, } private = xzalloc(sizeof(*private) + size); - if (!private) - return -ENOMEM; private->type = type; private->id = id; private->count = count; |