VT-d: drop stray "list" field from struct user_rmrr
diff mbox series

Message ID 1964edd2-18aa-1130-2744-fcf9d480b567@suse.com
State New
Headers show
Series
  • VT-d: drop stray "list" field from struct user_rmrr
Related show

Commit Message

Jan Beulich Feb. 6, 2020, 3:34 p.m. UTC
The field looks to have been bogusly added by the patch introducing the
struct (431685e8deb6 "VT-d: add command line option for extra rmrrs").

Signed-off-by: Jan Beulich <jbeulich@suse.com>

Comments

Tian, Kevin Feb. 18, 2020, 5:29 a.m. UTC | #1
> From: Jan Beulich <jbeulich@suse.com>
> Sent: Thursday, February 6, 2020 11:35 PM
> 
> The field looks to have been bogusly added by the patch introducing the
> struct (431685e8deb6 "VT-d: add command line option for extra rmrrs").
> 
> Signed-off-by: Jan Beulich <jbeulich@suse.com>
> 

Reviewed-by: Kevin Tian <kevin.tian@intel.com>

Patch
diff mbox series

--- a/xen/drivers/passthrough/vtd/dmar.c
+++ b/xen/drivers/passthrough/vtd/dmar.c
@@ -839,7 +839,6 @@  out:
 /* RMRR units derived from command line rmrr option. */
 #define MAX_USER_RMRR_DEV 20
 struct user_rmrr {
-    struct list_head list;
     unsigned long base_pfn, end_pfn;
     unsigned int dev_count;
     u32 sbdf[MAX_USER_RMRR_DEV];