Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754806AbcLZCST (ORCPT ); Sun, 25 Dec 2016 21:18:19 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:33530 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754520AbcLZCSQ (ORCPT ); Sun, 25 Dec 2016 21:18:16 -0500 Date: Sun, 25 Dec 2016 18:18:12 -0800 From: Yinghai Lu To: Wei Yang Cc: akataria@vmware.com, tglx@linutronix.de, mingo@redhat.com, x86@kernel.org, hpa@zytor.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86/e820: make e820_search_gap() static and remove unused variables Message-ID: <20161226021811.GA3314@linux-siqj.site> References: <20161225013739.GA5878@linux-siqj.site> <1482676551-11411-1-git-send-email-richard.weiyang@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1482676551-11411-1-git-send-email-richard.weiyang@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 375 Lines: 9 On Sun, Dec 25, 2016 at 02:35:51PM +0000, Wei Yang wrote: > e820_search_gap() is just used locally now and the start_addr and end_addr > is fixed. Also gapstart is not checked in this function. > > The patch makes e820_search_gap() static and remove those unused variables. > > Signed-off-by: Wei Yang Acked-by: Yinghai Lu