projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/block/ub.c
b/drivers/block/ub.c
index 813805908dec55b46fa5d118bbc77d5d01d47c33..10740a065088d73218b2306f2cd6acd6ff6a21b8 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);
}