Skip to content

Commit

Permalink
[PATCH] USB: ub 02 Removed unused variable
Browse files Browse the repository at this point in the history
Removed an unused variable

Signed-off-by: Daniel Marjamaki <daniel.marjamaki@comhem.se>
Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Daniel Marjamaki authored and Greg Kroah-Hartman committed Jan 4, 2006
1 parent 4fb729f commit ab93091
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions drivers/block/ub.c
Original file line number Diff line number Diff line change
Expand Up @@ -950,10 +950,7 @@ static void ub_rw_cmd_done(struct ub_dev *sc, struct ub_scsi_cmd *cmd)

static void ub_end_rq(struct request *rq, int uptodate)
{
int rc;

rc = end_that_request_first(rq, uptodate, rq->hard_nr_sectors);
// assert(rc == 0);
end_that_request_first(rq, uptodate, rq->hard_nr_sectors);
end_that_request_last(rq);
}

Expand Down

0 comments on commit ab93091

Please sign in to comment.