summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2017-06-28 14:18:13 -0400
committerTejun Heo <tj@kernel.org>2017-06-29 10:20:59 -0400
commitc8ccf812c36bfc939063b83614beaa2562828e07 (patch)
treec51963523acfeaf360097b6552b0aaacc9aab2dc /drivers/ata
parentb1ffbf854e0887e2b828b9a3343264453662dec6 (diff)
downloadlinux-c8ccf812c36bfc939063b83614beaa2562828e07.tar.gz
linux-c8ccf812c36bfc939063b83614beaa2562828e07.tar.bz2
linux-c8ccf812c36bfc939063b83614beaa2562828e07.zip
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>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/libata-scsi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c
index 815c6e240aea..9d1b66b4ce7b 100644
--- a/drivers/ata/libata-scsi.c
+++ b/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;
}