]> xenbits.xensource.com Git - people/vhanquez/xen.git/commit
libxc: remove tests of alloca() return value
authorDavid Vrabel <david.vrabel@citrix.com>
Mon, 20 Feb 2012 17:31:49 +0000 (17:31 +0000)
committerDavid Vrabel <david.vrabel@citrix.com>
Mon, 20 Feb 2012 17:31:49 +0000 (17:31 +0000)
commite1a42e521ae8a6e9ce26d2aeaeedd54b1cee65e4
tree071d7ef47e5bd1eb0c13d7f6b9c1febf6ec221cb
parenta59284088cb1ce86fa8e4899257adcce42168299
libxc: remove tests of alloca() return value

alloca() does not return NULL on an allocation failure on Linux so
remove the unneccessary tests from this Linux-specific code.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Cc: Santosh Jodh <santosh.jodh@citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxc/xc_linux_osdep.c