From: Daniel Marjamaki Date: Sat, 17 Dec 2005 10:38:46 +0000 (-0800) Subject: [PATCH] USB: ub 02 Removed unused variable X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ab93091dd7f3d3dff9e8d1811d8344af1c52493b;p=openwrt%2Fstaging%2Fblogic.git [PATCH] USB: ub 02 Removed unused variable Removed an unused variable Signed-off-by: Daniel Marjamaki Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/block/ub.c b/drivers/block/ub.c index 813805908dec..10740a065088 100644 --- a/drivers/block/ub.c +++ b/drivers/block/ub.c @@ -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); }