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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1C859C00528 for ; Thu, 3 Aug 2023 12:08:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234966AbjHCMIk (ORCPT ); Thu, 3 Aug 2023 08:08:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234546AbjHCMIi (ORCPT ); Thu, 3 Aug 2023 08:08:38 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FA082D5F for ; Thu, 3 Aug 2023 05:08:38 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C13CA61D6A for ; Thu, 3 Aug 2023 12:08:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 64B80C433C8; Thu, 3 Aug 2023 12:08:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691064517; bh=jMfkuSljeC1MmRBLH3M+5Zxeay+VmMKCSTJBTFXNkLM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gG2Se5Pbifb4P8fUNKQGqTGXzR2qHyEf/HPRqORf99evMR6MnBLebJ4Yag4MIkQ68 pbyEgUkQIM/V92t5I4emcTwyKI9+Zf1sOFWnmuHS1dIFQcngGa7yBpWnowtueFQXGr tPvfbdnc6LV3wKQqQo5mgSHjJc9F92mE6GQAnApIzijqhcKUBkL6yc9HdTkVZdVUPY yKhZpo1Op/W/vLggkgZE5JMhVhalf8urx+8OHGnlu+nKh+8zASLkHz6PYNUUUa3Ycy Jg05gjrpRCPe6M5lJV46hAPZoDLOH7oAua0bqoot7AiAn0uNmh9+IvI3ilyA5E/K7W Aib4ZRWdwTTXw== Date: Thu, 3 Aug 2023 14:08:32 +0200 From: Simon Horman To: Li kunyu Cc: martin.lau@linux.dev, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, song@kernel.org, yhs@fb.com, john.fastabend@gmail.com, kpsingh@kernel.org, sdf@google.com, haoluo@google.com, jolsa@kernel.org, bpf@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH bpf-next v2] bpf: bpf_struct_ops: Remove unnecessary initial values of variables Message-ID: References: <20230804175929.2867-1-kunyu@nfschina.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230804175929.2867-1-kunyu@nfschina.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Aug 05, 2023 at 01:59:29AM +0800, Li kunyu wrote: > err and tlinks is assigned first, so it does not need to initialize the > assignment. > > Signed-off-by: Li kunyu Reviewed-by: Simon Horman