xl: remove pointless null pointer check

poolinfo is guaranteed non-null here.

Signed-off-by: Matthew Daley <mattjd@gmail.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
This commit is contained in:
Matthew Daley authored and Ian Campbell committed 2013-11-11 16:13:57 +00:00
1 parent 570e223242
commit bd222b3fd4
1 file changed
+2 -2
+2 -2
View File
@@ -5095,8 +5095,8 @@ static int sched_domain_output(libxl_scheduler sched, int (*output)(int),
break;
}
}
if (poolinfo)
libxl_cpupoolinfo_list_free(poolinfo, n_pools);
libxl_cpupoolinfo_list_free(poolinfo, n_pools);
return 0;
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.