瀏覽代碼

libata: fix build warning from unused goto label

b1ffbf854e08 ("libata: Support for an ATA PASS-THROUGH(32) command.")
introduced an unused goto label.  Remove it.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Tejun Heo <tj@kernel.org>
Tejun Heo 8 年之前
父節點
當前提交
c8ccf812c3
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/ata/libata-scsi.c

+ 0 - 1
drivers/ata/libata-scsi.c

@@ -4191,7 +4191,6 @@ static unsigned int ata_scsi_var_len_cdb_xlat(struct ata_queued_cmd *qc)
 	if (sa == ATA_32)
 		return ata_scsi_pass_thru(qc);
 
-unspprt_sa:
 	/* unsupported service action */
 	return 1;
 }