Commit ab93091d authored by Daniel Marjamaki's avatar Daniel Marjamaki Committed by Greg Kroah-Hartman

[PATCH] USB: ub 02 Removed unused variable

Removed an unused variable
Signed-off-by: default avatarDaniel Marjamaki <daniel.marjamaki@comhem.se>
Signed-off-by: default avatarPete Zaitcev <zaitcev@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 4fb729f5
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment