summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Grall <julien.grall@citrix.com>2015-06-17 16:28:04 +0200
committerDavid Vrabel <david.vrabel@citrix.com>2015-06-17 17:15:19 +0200
commit548f7c94759ac58d4744ef2663e2a66a106e21c5 (patch)
treed5d31e306487e7e15d6adc3af15bc555dce155f4
parentxen/xenbus: client: Fix call of virt_to_mfn in xenbus_grant_ring (diff)
downloadlinux-548f7c94759ac58d4744ef2663e2a66a106e21c5.tar.xz
linux-548f7c94759ac58d4744ef2663e2a66a106e21c5.zip
xen/grant-table: Remove unused macro SPP
SPP was used by the grant table v2 code which has been removed in commit 438b33c7145ca8a5131a30c36d8f59bce119a19a "xen/grant-table: remove support for V2 tables". Signed-off-by: Julien Grall <julien.grall@citrix.com> Reviewed-by: David Vrabel <david.vrabel@citrix.com> Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com>
-rw-r--r--drivers/xen/grant-table.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/xen/grant-table.c b/drivers/xen/grant-table.c
index b1c7170e5c9e..62f591f8763c 100644
--- a/drivers/xen/grant-table.c
+++ b/drivers/xen/grant-table.c
@@ -138,7 +138,6 @@ static struct gnttab_free_callback *gnttab_free_callback_list;
static int gnttab_expand(unsigned int req_entries);
#define RPP (PAGE_SIZE / sizeof(grant_ref_t))
-#define SPP (PAGE_SIZE / sizeof(grant_status_t))
static inline grant_ref_t *__gnttab_entry(grant_ref_t entry)
{