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 Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 791B2C433FE for ; Thu, 17 Nov 2022 10:55:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 1EA8081F48; Thu, 17 Nov 2022 10:55:39 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 1EA8081F48 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1668682539; bh=t/nKfV4H8IPe0/l0c/xcqFtTLkf6pGiQhmUcg19bZKM=; h=Date:From:To:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=93fVXx30soVe0sb8tCC3CZvtSSVo91FYNsbpEeG7dHYcq4YN+Di+qDzAtd3TZPwBD K4Imhdz8g8O7OcbDFTmmqgu5ewaVfPbGvubTpTnvgyeNILLyc+i/lqVE2O7V6Gb1M4 WGehpgFrClOyB61+Ta6uZWPpclXKBqkKmYyGJIoM86ciflACIeFUyMTmDQplLtCGuu Swi8hGBHsPqwVGaQjh0t/k7GArmRmXRCUxbDQxv7dtZCyBQD6YF9DRUW+GtVt5N5Fl pfsG3f9B20LANadMhlTKdqcw78jNon43AOUsstf7AjhTP/5j9KPnhyBC4uGqJmgGdd CEcIDDo9wnVZQ== X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BUOdvPxhTplS; Thu, 17 Nov 2022 10:55:38 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 2D41081F4C; Thu, 17 Nov 2022 10:55:38 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 2D41081F4C Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 039041BF3A1 for ; Thu, 17 Nov 2022 10:55:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id D1ED181F4C for ; Thu, 17 Nov 2022 10:55:35 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org D1ED181F4C X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5Mz0VHDdF2Gb for ; Thu, 17 Nov 2022 10:55:35 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 2FECF81F48 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by smtp1.osuosl.org (Postfix) with ESMTPS id 2FECF81F48 for ; Thu, 17 Nov 2022 10:55:35 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 19F5660ABE; Thu, 17 Nov 2022 10:55:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E8EDEC433C1; Thu, 17 Nov 2022 10:55:32 +0000 (UTC) Date: Thu, 17 Nov 2022 12:55:29 +0200 From: Leon Romanovsky To: Przemek Kitszel Message-ID: References: <20221116122032.969666-1-przemyslaw.kitszel@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221116122032.969666-1-przemyslaw.kitszel@intel.com> X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668682533; bh=bqEgAabDndE4N1MKV7K/TPx0jmKHs8zrAlaQAHYeyrE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=A3yFt2j527JgJRVjByOwkk+SqQrGviV+aBFy1gAUA9fkkxVlb+DHav/vJYGJv2e/R qoIktMqgI3Nl7LCmL17SOExm8btqt2RQeIx/8RKIKmZQ0dYHDJPIY3ji8jLS83xitd vPoBS44GF7x/yAPtYyyVTZ4j0/TP/12PiGD7yxkGeKknZg9QK40i6ECCN5Y9pyW5fL WN3rtHwG+Otf8jpRYJlL1zt7LXCvpVAxwlnRyRrd2athHPYRF111lZO2IB4VoSwqKV rXR0hQEe8wYIo6KH1HguekTKoYC/oD/L6NqOM9ckG7XVrcaLxL+AwZH4maSEQujt63 l+DI2otOFoMVA== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=A3yFt2j5 Subject: Re: [Intel-wired-lan] [PATCH net-next] ice: remove redundant non-null check in ice_setup_pf_sw() X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: intel-wired-lan@osuosl.org, netdev@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" On Wed, Nov 16, 2022 at 01:20:32PM +0100, Przemek Kitszel wrote: > From: Anirudh Venkataramanan > > Remove a redundant null check, as vsi could not be null at this point. > > Signed-off-by: Anirudh Venkataramanan > Signed-off-by: Przemek Kitszel > --- > drivers/net/ethernet/intel/ice/ice_main.c | 12 +++++------- > 1 file changed, 5 insertions(+), 7 deletions(-) > Thanks, Reviewed-by: Leon Romanovsky _______________________________________________ Intel-wired-lan mailing list Intel-wired-lan@osuosl.org https://lists.osuosl.org/mailman/listinfo/intel-wired-lan