[dpdk-dev] [PATCH 1/2] Move the error check inside __mempool_check_cookies()

2014-10-04 Thread Wiles, Roger Keith
Self Nack this one and will resend the patch as a single patch. :-( On Oct 4, 2014, at 6:10 PM, Keith Wiles wrote: > Three places check for the return value from __mempool_get_bulk to be zero > and then call the debug routine __mempool_check_cookies(). The test is > not required if moved into th

[dpdk-dev] [PATCH 1/2] Move the error check inside __mempool_check_cookies()

2014-10-04 Thread Keith Wiles
Three places check for the return value from __mempool_get_bulk to be zero and then call the debug routine __mempool_check_cookies(). The test is not required if moved into the debug routine. Minor cleanup and mostly does not effect performance, unless the is not removed by the compiler in the case