projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fb729f
)
[PATCH] USB: ub 02 Removed unused variable
author
Daniel Marjamaki
<daniel.marjamaki@comhem.se>
Sat, 17 Dec 2005 10:38:46 +0000
(
02:38
-0800)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 4 Jan 2006 21:51:44 +0000
(13:51 -0800)
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>
drivers/block/ub.c
patch
|
blob
|
history
diff --git
a/drivers/block/ub.c
b/drivers/block/ub.c
index
8138059
..
10740a0
100644
(file)
--- 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);
}