xen/grant-table: Remove unused macro SPP
authorJulien Grall <julien.grall@citrix.com>
Wed, 17 Jun 2015 14:28:04 +0000 (15:28 +0100)
committerDavid Vrabel <david.vrabel@citrix.com>
Wed, 17 Jun 2015 15:15:19 +0000 (16:15 +0100)
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>
drivers/xen/grant-table.c

index b1c7170e5c9e1edf85049c4d43fc4d1b9f2b18f8..62f591f8763ccfd4519248566b6f1d49eb78ce64 100644 (file)
@@ -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)
 {