From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Daley Subject: [PATCH] gnttab: remove unused MAPTRACK_MAX_ENTRIES define Date: Mon, 10 Jun 2013 19:08:03 +1200 Message-ID: <1370848083-8748-1-git-send-email-mattjd@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Matthew Daley , Keir Fraser List-Id: xen-devel@lists.xenproject.org The maximum number of grant mappings is given by max_nr_maptrack_frames() as of commit 5ce8faf, not this unused define. Signed-off-by: Matthew Daley --- xen/include/xen/grant_table.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/xen/include/xen/grant_table.h b/xen/include/xen/grant_table.h index 0820da1..5941191 100644 --- a/xen/include/xen/grant_table.h +++ b/xen/include/xen/grant_table.h @@ -64,9 +64,6 @@ struct grant_mapping { domid_t domid; /* granting domain */ }; -/* Fairly arbitrary. [POLICY] */ -#define MAPTRACK_MAX_ENTRIES 16384 - /* Per-domain grant information. */ struct grant_table { /* Table size. Number of frames shared with guest */ -- 1.7.10.4