lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20171120161122.5295-1-colin.king@canonical.com>
Date:   Mon, 20 Nov 2017 16:11:22 +0000
From:   Colin King <colin.king@...onical.com>
To:     Ashutosh Dixit <ashutosh.dixit@...el.com>,
        Jérôme Glisse <jglisse@...hat.com>
Cc:     kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] misc/mic/scif: remove redundant assignment of dst_local to itself

From: Colin Ian King <colin.king@...onical.com>

The assignment of dst_local to itself is redundant and can be removed.

Signed-off-by: Colin Ian King <colin.king@...onical.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ