* [PATCH] misc/mic/scif: remove redundant assignment of dst_local to itself
@ 2017-11-20 16:11 Colin King
0 siblings, 0 replies; only message in thread
From: Colin King @ 2017-11-20 16:11 UTC (permalink / raw)
To: Ashutosh Dixit, Jérôme Glisse; +Cc: kernel-janitors, linux-kernel
From: Colin Ian King <colin.king@canonical.com>
The assignment of dst_local to itself is redundant and can be removed.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
drivers/misc/mic/scif/scif_dma.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/misc/mic/scif/scif_dma.c b/drivers/misc/mic/scif/scif_dma.c
index 63d6246d6dff..1c42f09eccdf 100644
--- a/drivers/misc/mic/scif/scif_dma.c
+++ b/drivers/misc/mic/scif/scif_dma.c
@@ -1571,7 +1571,6 @@ static int scif_rma_list_dma_copy_wrapper(struct scif_endpt *epd,
src_local = work->src_window->type == SCIF_WINDOW_SELF;
dst_local = work->dst_window->type == SCIF_WINDOW_SELF;
- dst_local = dst_local;
/* Allocate dma_completion cb */
comp_cb = kzalloc(sizeof(*comp_cb), GFP_KERNEL);
if (!comp_cb)
--
2.14.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-11-20 16:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-20 16:11 [PATCH] misc/mic/scif: remove redundant assignment of dst_local to itself Colin King
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).