projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbd6531
)
dw_dmac: remove redundant check
author
Andy Shevchenko
<andriy.shevchenko@linux.intel.com>
Wed, 9 Jan 2013 08:17:12 +0000
(10:17 +0200)
committer
Vinod Koul
<vinod.koul@intel.com>
Wed, 9 Jan 2013 14:30:59 +0000
(06:30 -0800)
There is no need to check the callback_required parameter, due to we check the
callback pointer to be a non-NULL.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dw_dmac.c
patch
|
blob
|
history
diff --git
a/drivers/dma/dw_dmac.c
b/drivers/dma/dw_dmac.c
index
dd7a819
..
c74a7ec
100644
(file)
--- a/
drivers/dma/dw_dmac.c
+++ b/
drivers/dma/dw_dmac.c
@@
-347,7
+347,7
@@
dwc_descriptor_complete(struct dw_dma_chan *dwc, struct dw_desc *desc,
spin_unlock_irqrestore(&dwc->lock, flags);
- if (callback
_required && callback
)
+ if (callback)
callback(param);
}