From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751789AbeBYPSk (ORCPT ); Sun, 25 Feb 2018 10:18:40 -0500 Received: from mail.kernel.org ([198.145.29.99]:45936 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751682AbeBYPSa (ORCPT ); Sun, 25 Feb 2018 10:18:30 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1A85821736 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=chao@kernel.org Subject: Re: [f2fs-dev] [PATCH] f2fs: remove redundant initialization of pointer 'p' To: Colin King , Jaegeuk Kim , Chao Yu , linux-f2fs-devel@lists.sourceforge.net Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org References: <20180221181340.7596-1-colin.king@canonical.com> From: Chao Yu Message-ID: Date: Sun, 25 Feb 2018 23:17:37 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180221181340.7596-1-colin.king@canonical.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018/2/22 2:13, Colin King wrote: > From: Colin Ian King > > Pointer p is initialized with a value that is never read and is later > re-assigned a new value, hence the initialization is redundant and can > be removed. > > Cleans up clang warning: > fs/f2fs/extent_cache.c:463:19: warning: Value stored to 'p' during > its initialization is never read > > Signed-off-by: Colin Ian King Reviewed-by: Chao Yu Thanks,