]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
libata: fix build warning from unused goto label
authorTejun Heo <tj@kernel.org>
Wed, 28 Jun 2017 18:18:13 +0000 (14:18 -0400)
committerTejun Heo <tj@kernel.org>
Thu, 29 Jun 2017 14:20:59 +0000 (10:20 -0400)
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>
drivers/ata/libata-scsi.c

index 815c6e240aea3b065b13554e5c4938f65d12c947..9d1b66b4ce7b8a8dab06270880ae3d611427c99c 100644 (file)
@@ -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;
 }