projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'md-raid6-accel' into ioat3.2
[linux-2.6-block.git]
/
drivers
/
dma
/
dmatest.c
diff --git
a/drivers/dma/dmatest.c
b/drivers/dma/dmatest.c
index a5ee54139050ea6733b1c83aa550bee05318ec34..58e49e41c7a31a916718513e0cd64266776ba61f 100644
(file)
--- a/
drivers/dma/dmatest.c
+++ b/
drivers/dma/dmatest.c
@@
-557,9
+557,7
@@
static int __init dmatest_init(void)
chan = dma_request_channel(mask, filter, NULL);
if (chan) {
err = dmatest_add_channel(chan);
- if (err == 0)
- continue;
- else {
+ if (err) {
dma_release_channel(chan);
break; /* add_channel failed, punt */
}