Skip to content

Commit

Permalink
libata: fix build warning from unused goto label
Browse files Browse the repository at this point in the history
b1ffbf8 ("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>
  • Loading branch information
Tejun Heo committed Jun 29, 2017
1 parent b1ffbf8 commit c8ccf81
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/ata/libata-scsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c8ccf81

Please sign in to comment.