From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A8BDA18B17; 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> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230804175929.2867-1-kunyu@nfschina.com> 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