Browse Source

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 years ago
parent
commit
c8ccf812c3
1 changed files with 0 additions and 1 deletions
  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;
 }