[libvirt] [PATCH] nodeinfo: don't define nodeGetCellMemory if it isn't ever used

Eric Blake eblake at redhat.com
Mon Mar 11 16:02:44 UTC 2013


On 03/11/2013 03:20 AM, Hu Tao wrote:
> On Mon, Mar 11, 2013 at 05:12:25PM +0800, Osier Yang wrote:
>> On 2013年03月11日 16:57, Hu Tao wrote:
>>>
>>> Signed-off-by: Hu Tao<hutao at cn.fujitsu.com>
>>> ---
>>>  src/nodeinfo.c | 10 ++--------
>>>  1 file changed, 2 insertions(+), 8 deletions(-)

>> But I like this more, as it avoids the "WITH_NUMACTL".
>> nodGetCellMemory can be removed on the #else branch indeed as it's
>> only for internal use, the caller already errored out if no
>> WITH_NUMACTL.
>>
>> So ACK.
> 
> Thanks!

Pushed.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130311/c434883d/attachment-0001.sig>


More information about the libvir-list mailing list