Skip to content
Commit fcbefc3b authored by Tiezhu Yang's avatar Tiezhu Yang Committed by Martin K. Petersen
Browse files

scsi: ufs: remove unnecessary goto label



When buff_ascii kmalloc failed, there is no need to call kfree, it
should return -ENOMEM directly, this patch fixes it.

Signed-off-by: default avatarTiezhu Yang <kernelpatch@126.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 3fb134cb
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