Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:57792 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750735AbeDXR1q (ORCPT ); Tue, 24 Apr 2018 13:27:46 -0400 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Subject: Re: rtlwifi: btcoex: remove identical statements within if-else branches From: Kalle Valo In-Reply-To: <20180409075131.7535-1-pkshih@realtek.com> References: <20180409075131.7535-1-pkshih@realtek.com> To: Ping-Ke Shih Cc: , Message-Id: <20180424172745.EB1E060881@smtp.codeaurora.org> (sfid-20180424_192750_138093_347FE83B) Date: Tue, 24 Apr 2018 17:27:45 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org List-ID: Ping-Ke Shih wrote: > From: Ping-Ke Shih > > Since the statements are identical, we can safely remove the statements. > The commit 42e74946f016 ("rtlwifi: btcoexist: Fix if == else warnings in > halbtc8821a1ant.c") had fixed the statements, but the commit c6821613e653 > ("rtlwifi: btcoex: follow linux coding style") that converted coding style > and upgraded btcoex didn't include the fix. > > Reported-by: Gustavo A. R. Silva > Signed-off-by: Ping-Ke Shih Patch applied to wireless-drivers-next.git, thanks. 8cf304a85378 rtlwifi: btcoex: remove identical statements within if-else branches -- https://patchwork.kernel.org/patch/10330711/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches