Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp159600ybj; Wed, 6 May 2020 14:05:02 -0700 (PDT) X-Google-Smtp-Source: APiQypKo/D7dnPygQ7/+95VHkuxZna8X4lOt/FIzaUostuyJl5kYg4U+itk9ubdK2kQbWSQSvyxw X-Received: by 2002:a17:906:3713:: with SMTP id d19mr8840985ejc.111.1588799101792; Wed, 06 May 2020 14:05:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588799101; cv=none; d=google.com; s=arc-20160816; b=vYnj0dFfTkvJgBTmFuG2moqvzRWtYaVOccL8c9xuzY+W+H5ZuCfSMfDgAAwHX1/bFm 71OyxJH2zqnDxfBf7Q4ARjxYfoT8oG2lbSAXvnGmA/dJy2fOHVXVspb0+LV24DwAj3b0 6ZZ/1PEf5AeGA7WKh1ZON3KLhYgyaAMJiBa7hXTJy2yd+fOiH0KOf3fGHscri+LTOBwy 80ws88E9rbwgSF3rIeA0ztpNaKCKAlaRh2I65Ig7RyjiHwRUd3wkBoLB4yjZWDRaYzR4 F17QLrdUFk3JBIkrIzDHn3Lt/tvIiTJbPWU4gUNd9TifNFxuBvUtBveQqNcsIFTXibzz lE5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=EYVNz73GRRawCm+0oEcaxbgRaqoNhpEmAY+kEyurbBg=; b=naK0QW1bCtntpda6DvvMLO6GLFZFxNZIxFOJ1ibLVPzt/GkNEKzIy+Y03UjF4g18t+ IrJ5EhXv5DYkk5IQ93CsWvUyR0jesrczYv7MtY5Q9M9bw6CvC+CxrDixAKzDVwtNUpVP xwHYTH3XRAylrtBU1VWaCSQV3Y1wXDmvKF7Y49kgES0cd2sd88IkHDlN5fwYsh8MFibc mbBhRGNBVj1nRvrWPSbZ7Z7//nG91jbfbVGzs71vD2VsyxNMgdZXG2EJyC8AHVz/s3jZ dFFlv3yGbsb4xc9xk4vXb01gs27MQ0G19fMEvRjrGHBx5HWHa5DRkDZcZkQmlrGRlCeF 5ahg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p16si1998734ejd.448.2020.05.06.14.04.29; Wed, 06 May 2020 14:05:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729591AbgEFVCk (ORCPT + 99 others); Wed, 6 May 2020 17:02:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726538AbgEFVCk (ORCPT ); Wed, 6 May 2020 17:02:40 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E172C061A0F; Wed, 6 May 2020 14:02:40 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:601:9f00:477::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id B4C961210D920; Wed, 6 May 2020 14:02:39 -0700 (PDT) Date: Wed, 06 May 2020 14:02:39 -0700 (PDT) Message-Id: <20200506.140239.2129195871879981516.davem@davemloft.net> To: yanaijie@huawei.com Cc: jeffrey.t.kirsher@intel.com, piotr.azarewicz@intel.com, intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next] i40e: Make i40e_shutdown_adminq() return void From: David Miller In-Reply-To: <20200506061835.19662-1-yanaijie@huawei.com> References: <20200506061835.19662-1-yanaijie@huawei.com> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 06 May 2020 14:02:40 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jason Yan Date: Wed, 6 May 2020 14:18:35 +0800 > Fix the following coccicheck warning: > > drivers/net/ethernet/intel/i40e/i40e_adminq.c:699:13-21: Unneeded > variable: "ret_code". Return "0" on line 710 > > Signed-off-by: Jason Yan Jeff, please pick this up. Thank you.