David Marchand 7392dde0cc eal/linux: remove useless casts in hugepage init
Rather than cast the huge pages number returned by get_num_hugepages, rework
this function so that it returns 0 when something goes wrong.
And no need for casts in log.

Signed-off-by: David Marchand <david.marchand@6wind.com>
Acked-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
2015-07-09 14:20:21 +02:00
..
2015-03-10 11:47:46 +01:00
2014-06-11 00:29:34 +02:00
2015-03-10 12:06:08 +01:00
2015-06-03 18:01:53 +02:00
2015-03-10 11:47:46 +01:00
2015-03-10 11:47:46 +01:00
2015-03-10 11:47:46 +01:00
2015-03-10 12:15:14 +01:00