Commit 58ace9f2 authored by Michael Holzheu's avatar Michael Holzheu Committed by Martin Schwidefsky

[S390] s390dbf: Remove needless check for NULL pointer.

The check for NULL pointer has already be done before. Therefore we can remove
the second check.
Signed-off-by: default avatarMichael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent a0fa8e37
...@@ -642,8 +642,7 @@ found: ...@@ -642,8 +642,7 @@ found:
p_info = kmalloc(sizeof(file_private_info_t), p_info = kmalloc(sizeof(file_private_info_t),
GFP_KERNEL); GFP_KERNEL);
if(!p_info){ if(!p_info){
if(debug_info_snapshot) debug_info_free(debug_info_snapshot);
debug_info_free(debug_info_snapshot);
rc = -ENOMEM; rc = -ENOMEM;
goto out; goto out;
} }
......
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