Message ID | 8e1bc9d3b492f6bde16e95ebc1dee11d6aefabd7.1567889743.git.jrdr.linux@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Remove __online_page_set_limits() | expand |
On 07.09.19 23:47, Souptick Joarder wrote: > __online_page_set_limits() is a dummy function and an extra call > to this function can be avoided. > > Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com> > --- > drivers/hv/hv_balloon.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/hv/hv_balloon.c b/drivers/hv/hv_balloon.c > index 6fb4ea5..9bab443 100644 > --- a/drivers/hv/hv_balloon.c > +++ b/drivers/hv/hv_balloon.c > @@ -680,7 +680,6 @@ static void hv_page_online_one(struct hv_hotadd_state *has, struct page *pg) > __ClearPageOffline(pg); > > /* This frame is currently backed; online the page. */ > - __online_page_set_limits(pg); > __online_page_increment_counters(pg); > __online_page_free(pg); > > Reviewed-by: David Hildenbrand <david@redhat.com>
diff --git a/drivers/hv/hv_balloon.c b/drivers/hv/hv_balloon.c index 6fb4ea5..9bab443 100644 --- a/drivers/hv/hv_balloon.c +++ b/drivers/hv/hv_balloon.c @@ -680,7 +680,6 @@ static void hv_page_online_one(struct hv_hotadd_state *has, struct page *pg) __ClearPageOffline(pg); /* This frame is currently backed; online the page. */ - __online_page_set_limits(pg); __online_page_increment_counters(pg); __online_page_free(pg);
__online_page_set_limits() is a dummy function and an extra call to this function can be avoided. Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com> --- drivers/hv/hv_balloon.c | 1 - 1 file changed, 1 deletion(-)