diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-08-15 16:14:19 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2017-08-16 16:43:23 +0200 |
commit | b5f5245491b4bea1fd75dfd535e0ea7ec2071b3c (patch) | |
tree | 8c95f2642dce2b18f115554d5a3b358bb54dc86f /fs/udf/super.c | |
parent | 033c9da00893e90dcff0a714bcb5d66890ad818a (diff) | |
download | linux-b5f5245491b4bea1fd75dfd535e0ea7ec2071b3c.tar.gz linux-b5f5245491b4bea1fd75dfd535e0ea7ec2071b3c.tar.bz2 linux-b5f5245491b4bea1fd75dfd535e0ea7ec2071b3c.zip |
fs-udf: Delete an error message for a failed memory allocation in two functions
Omit an extra message for a memory allocation failure in these functions.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf/super.c')
-rw-r--r-- | fs/udf/super.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/udf/super.c b/fs/udf/super.c index d772c9c676d0..93c59630512b 100644 --- a/fs/udf/super.c +++ b/fs/udf/super.c @@ -268,8 +268,6 @@ static int udf_sb_alloc_partition_maps(struct super_block *sb, u32 count) sbi->s_partmaps = kcalloc(count, sizeof(*sbi->s_partmaps), GFP_KERNEL); if (!sbi->s_partmaps) { - udf_err(sb, "Unable to allocate space for %d partition maps\n", - count); sbi->s_partitions = 0; return -ENOMEM; } |