Message ID | 20200225150237.9124-1-julien@xen.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v2] xen/grant-table: Remove outdated warning in gnttab_grow_table() | expand |
diff --git a/xen/common/grant_table.c b/xen/common/grant_table.c index bc37acae0e..057c78f620 100644 --- a/xen/common/grant_table.c +++ b/xen/common/grant_table.c @@ -1793,12 +1793,6 @@ gnttab_grow_table(struct domain *d, unsigned int req_nr_frames) struct grant_table *gt = d->grant_table; unsigned int i, j; - if ( unlikely(!gt->active) ) - { - gprintk(XENLOG_WARNING, "grant_table_set_limits() call missing\n"); - return -ENODEV; - } - if ( req_nr_frames < INITIAL_NR_GRANT_FRAMES ) req_nr_frames = INITIAL_NR_GRANT_FRAMES; ASSERT(req_nr_frames <= gt->max_grant_frames);