Skip to content

Commit

Permalink
Remove dead code (unused variable in WRITE_6)
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Harvey <markh794@gmail.com>
  • Loading branch information
markh794 committed Apr 27, 2011
1 parent 7fe1aa8 commit cbae312
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions usr/ssc.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ uint8_t ssc_write_6(struct scsi_cmd *cmd)
struct vtl_ds *dbuf_p;
struct priv_lu_ssc *lu_ssc;
struct lu_phy_attr *lu;
uint8_t *buf;
int count;
int sz;
int k;
Expand Down Expand Up @@ -180,7 +179,6 @@ uint8_t ssc_write_6(struct scsi_cmd *cmd)
for (k = 0; k < count; k++) {
retval = writeBlock(cmd, sz);
lu_ssc->bytesWritten += retval;
buf += retval;

/* If sam_stat != SAM_STAT_GOOD, return */
if (cmd->dbuf_p->sam_stat)
Expand Down

0 comments on commit cbae312

Please sign in to comment.