Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752135AbdH3Qvr (ORCPT ); Wed, 30 Aug 2017 12:51:47 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:43572 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751333AbdH3Qvo (ORCPT ); Wed, 30 Aug 2017 12:51:44 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org A9E1060209 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: rsi: remove memset before memcpy From: Kalle Valo In-Reply-To: <1504032890-25229-1-git-send-email-himanshujha199640@gmail.com> References: <1504032890-25229-1-git-send-email-himanshujha199640@gmail.com> To: Himanshu Jha Cc: amit.karwar@redpinesignals.com, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Himanshu Jha User-Agent: pwcli/0.0.0-git (https://github.com/kvalo/pwcli/) Python/2.7.12 Message-Id: <20170830165144.5D82E60209@smtp.codeaurora.org> Date: Wed, 30 Aug 2017 16:51:44 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 442 Lines: 15 Himanshu Jha wrote: > calling memcpy immediately after memset with the same region of memory > makes memset redundant. > > Signed-off-by: Himanshu Jha Patch applied to wireless-drivers-next.git, thanks. 66a3479e1217 rsi: remove memset before memcpy -- https://patchwork.kernel.org/patch/9927943/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches