scsi: ufs: remove unnecessary goto label
authorTiezhu Yang <kernelpatch@126.com>
Sat, 25 Jun 2016 04:35:22 +0000 (12:35 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 15 Jul 2016 19:44:45 +0000 (15:44 -0400)
commitfcbefc3b2bfb4dd1a230b3082b68bc7cf7c081e7
tree4ef708343915ce4d1d02ed1e448a8ee0da09c8b9
parent3fb134cb4c170debf2b786d689fe263186feea4b
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: Tiezhu Yang <kernelpatch@126.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd.c