projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28a5cd5
)
drivers/rapidio/devices/tsi721_dma.c: delete an unnecessary variable initialisation...
author
Markus Elfring
<
[email protected]
>
Tue, 6 Feb 2018 23:40:10 +0000
(15:40 -0800)
committer
Linus Torvalds
<
[email protected]
>
Wed, 7 Feb 2018 02:32:46 +0000
(18:32 -0800)
The local variable "desc" will eventually be set to an appropriate pointer
a bit later. Thus omit the explicit initialisation at the beginning.
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Markus Elfring <
[email protected]
>
Acked-by: Alexandre Bounine <
[email protected]
>
Cc: Matt Porter <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/rapidio/devices/tsi721_dma.c
patch
|
blob
|
history
diff --git
a/drivers/rapidio/devices/tsi721_dma.c
b/drivers/rapidio/devices/tsi721_dma.c
index f7bc85a27d1b9b35360319a476a3269de9692f8c..14fc36ac3d854b460e396a324a1327240b7d4ef4 100644
(file)
--- a/
drivers/rapidio/devices/tsi721_dma.c
+++ b/
drivers/rapidio/devices/tsi721_dma.c
@@
-735,7
+735,7
@@
static dma_cookie_t tsi721_tx_submit(struct dma_async_tx_descriptor *txd)
static int tsi721_alloc_chan_resources(struct dma_chan *dchan)
{
struct tsi721_bdma_chan *bdma_chan = to_tsi721_chan(dchan);
- struct tsi721_tx_desc *desc
= NULL
;
+ struct tsi721_tx_desc *desc;
int i;
tsi_debug(DMA, &dchan->dev->device, "DMAC%d", bdma_chan->id);