From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5DF94C3A5A2 for ; Tue, 10 Sep 2019 13:26:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1BD67208E4 for ; Tue, 10 Sep 2019 13:26:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="key not found in DNS" (0-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="GEyEZwDr"; dkim=fail reason="key not found in DNS" (0-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="HYZ8s6Sh" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732275AbfIJN0o (ORCPT ); Tue, 10 Sep 2019 09:26:44 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:42080 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726394AbfIJN0n (ORCPT ); Tue, 10 Sep 2019 09:26:43 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 91CAB6016D; Tue, 10 Sep 2019 13:26:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1568122002; bh=zqYN9TIvb8LarZK+8eJvsrDczJXmcfvbrZQkTvUneDc=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=GEyEZwDrI0j82BMA5t5tjkeTGp3TGfQLyltT+h4tZTH5QOq6p0wdfATFPJ1xe+e+x Ebta/H61Cq1kbfRrTAVWPJct7a50096QvURp6PsZY9Hp+L9zCm7ldk/SpoL3t5TBqY TSIydz/0F09Vyq73jgngMdxkbjT6eiyAwlkxAArk= Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 3CBD16016D; Tue, 10 Sep 2019 13:26:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1568122001; bh=zqYN9TIvb8LarZK+8eJvsrDczJXmcfvbrZQkTvUneDc=; h=Subject:From:In-Reply-To:References:To:Cc:From; b=HYZ8s6Shgh4IKV9FAwZUk4KmMMgYidyFUnuAt8p+6RFU0OHqw9m0lxhhc1fthWCiU cUDz1xnpFNmSUdr6VHWhJZBatSPkCFJ2ehohI+IRn3hxRz9LCuf7hvV33Q60/xu5eK Jb68uuhGwtuouqB8q5SHGSbcS1ORA+QYW8Orqpjw= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 3CBD16016D 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: [PATCH] ath9k: Remove unneeded variable to store return value From: Kalle Valo In-Reply-To: <1567579428-16377-1-git-send-email-zhongjiang@huawei.com> References: <1567579428-16377-1-git-send-email-zhongjiang@huawei.com> To: zhong jiang Cc: , , , , User-Agent: pwcli/0.0.0-git (https://github.com/kvalo/pwcli/) Python/2.7.12 Message-Id: <20190910132642.91CAB6016D@smtp.codeaurora.org> Date: Tue, 10 Sep 2019 13:26:42 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org zhong jiang wrote: > ath9k_reg_rmw_single do not need return value to cope with different > cases. And change functon return type to void. > > Signed-off-by: zhong jiang > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 45f09a1c5b85 ath9k: Remove unneeded variable to store return value -- https://patchwork.kernel.org/patch/11129449/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches