Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp2295124ybf; Mon, 2 Mar 2020 05:56:43 -0800 (PST) X-Google-Smtp-Source: APXvYqwoLJ5TwvHxL0P+XrJ2f2nfasHu/FoRr9la4TWUPM+zV+mm3lzmxQzcqrPeihzSRk6AHG+a X-Received: by 2002:a9d:5d09:: with SMTP id b9mr13000671oti.207.1583157403291; Mon, 02 Mar 2020 05:56:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583157403; cv=none; d=google.com; s=arc-20160816; b=a7T9eVJBqQ/YUFYDBX8nE+FrW4PBM+SIHm0JgfZY0SOLv4MsH6H9k+2O4JmAYWbdbb WxuiKF9LLplQYknJun2r5WoWO9hLoJ0mBpBnoTEQRNC/a6VM76YaQIDmcNqeg22ZH1oK 30HbMHkA/8OoNejhpXIRyhIYycN2ys7DB7J/JL2vOtXxWFKwEvdpzn8gDJsiBFwb71zi pynW/3sS7ldD2u1sBBZBA0R8kKE6q2mGd40wp5/ir5HgVJWDvixKBQLuwRcydzMrPvBH P25yOaze+pGj+s/cUPDbthv9oIcAWfATjPZkwkJ3Lb+0RFkjwR7D6ESg0hehzP6uaKb0 ib3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=SSA2y7JF1KwXaFT7UgAFD4Lxa1+uatvFTOo8ovjOJ5s=; b=XM80fOpQwYJQq+KVeprNyxt2Rie70+0xFFRy1HIEtzMTU86cV7JAcTQ66+AcWUuqBt Y84g7LelLx+6gr1rx4HW7NEsNc/s/kSTJevQTBaAhRPqXJnm3B8IGnd9BOHmZ8Ho6jgw Ty0tLSXqQrY2S5NxGS67jUv3FOBAnpDDKxsk3VeAAYIkO0k3+x5QumQ9GYbehjZZo+sW VFQR9Yr0DF206u1pRGyUlZ5AR9bONp62lWe9HITnU6FQipSCQn+lJAZu+gIERUjcb9jn +BfzxSSHK8iYoByeAKmExlH2ljoAANlNaebOBaJ28oyRFoSXXTCOoVo0Lq8wpLSOSjDn oUzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=SgbV3zLq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a26si1413545oic.91.2020.03.02.05.56.30; Mon, 02 Mar 2020 05:56:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=SgbV3zLq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727237AbgCBNyp (ORCPT + 99 others); Mon, 2 Mar 2020 08:54:45 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:33708 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727101AbgCBNyp (ORCPT ); Mon, 2 Mar 2020 08:54:45 -0500 Received: by mail-wr1-f68.google.com with SMTP id x7so12734942wrr.0 for ; Mon, 02 Mar 2020 05:54:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-disposition:in-reply-to:user-agent; bh=SSA2y7JF1KwXaFT7UgAFD4Lxa1+uatvFTOo8ovjOJ5s=; b=SgbV3zLqhRruFTbg//tkOkORlhZct7p5ADmEHCr+I3JtyZze8/n5J8Fk1T8bL33bP3 l6K0FXZvvWfVpol6CE0+yv6R/wzjMR9qpYoJxln1rurxdUD0ZN56wT9v+cvoHlIQclR/ 8d3ithsxd4mhf9z3nrvk3Rfm5qaCfz797UJEfA2UDX3NeSMVYf8dGBgdIgev0vWCiVHc 5W+TbyoPdhoe8FA1fw80ft9Us487c/pfdk99LIhDwfyPweSY1JG9eqL5BPqkQiCHM8Ja 9PeF4KfuxZRktzO9i4GQGQwMt3/0LWJS3E3MK0ZsxzTHxsyb5m1nEI7xcc1PDkvlvzDV Npcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:reply-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=SSA2y7JF1KwXaFT7UgAFD4Lxa1+uatvFTOo8ovjOJ5s=; b=CfbiuvPRTGnEQ+uaCq/JoSJ8kkTLlvax7x4M2EHU1Mpr2WvE8yQTyoxXvRVMm054k+ dnYWSgBy6PYA6UD3yAsPfpmUQBgXHE3mPZog+HspVMMrZWdGpLUjk5L4vhNwAea3jgB3 Py5twh/Kh2PiAe9qZc9w2ViiMqwjktYplX9VP4pMOPI4UyhLKSyXbeqI7Qpaw5DctvpK euqOcbCbCLi3qNQpmz5p7B8RJj3fHZRH8E+yj0MQjjQbQcdv4a3BaZyoOPXCO/bb6caP c0TfamAwtPpG32TZWksOqKNXQUZJaG5NBkja9SXp4AcZMgl4W9S4SQME5QW/y1xXnva2 6y5w== X-Gm-Message-State: APjAAAW5GXGJGswGGP6Wc/LX8+IujhJmpVUdZz/7GGWX4jJ35Wx+MdaT xvVQEwYhGY4vlCkG5xDNwgQ= X-Received: by 2002:a5d:4484:: with SMTP id j4mr24201388wrq.153.1583157283978; Mon, 02 Mar 2020 05:54:43 -0800 (PST) Received: from localhost ([185.92.221.13]) by smtp.gmail.com with ESMTPSA id m19sm15871308wmc.34.2020.03.02.05.54.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 02 Mar 2020 05:54:43 -0800 (PST) Date: Mon, 2 Mar 2020 13:54:42 +0000 From: Wei Yang To: mateusznosek0@gmail.com Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, akpm@linux-foundation.org Subject: Re: [PATCH] mm/vmscan.c: Clean code by removing unnecessary assignment Message-ID: <20200302135442.ouzmkr2rttxlgixa@master> Reply-To: Wei Yang References: <20200229214022.11853-1-mateusznosek0@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200229214022.11853-1-mateusznosek0@gmail.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Feb 29, 2020 at 10:40:22PM +0100, mateusznosek0@gmail.com wrote: >From: Mateusz Nosek > >Previously 0 was assigned to variable 'lruvec_size', >but the variable was never read later. >So the assignment can be removed. > >Signed-off-by: Mateusz Nosek Reviewed-by: Wei Yang -- Wei Yang Help you, Help me