[PATCH 1/4] sched: topology: drop memset() from init_rootdomain()

2017-03-23 Thread Viresh Kumar
There are only two callers of init_rootdomain(). One of them passes a global to it and another one sends dynamically allocated root-domain. There is no need to memset the root-domain in the first case as the structure is already reset. Update alloc_rootdomain() to allocate the memory with

[PATCH 1/4] sched: topology: drop memset() from init_rootdomain()

2017-03-23 Thread Viresh Kumar
There are only two callers of init_rootdomain(). One of them passes a global to it and another one sends dynamically allocated root-domain. There is no need to memset the root-domain in the first case as the structure is already reset. Update alloc_rootdomain() to allocate the memory with