axmap: improve axmap_find_first_free()
authorJens Axboe <axboe@kernel.dk>
Wed, 23 Jan 2013 17:33:20 +0000 (10:33 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 23 Jan 2013 17:33:20 +0000 (10:33 -0700)
commit731ef4c7c0aad1e6717e645595f3454d264b4f2f
treeb81df879f5c0d779ebe14d6c0d3e032054b0da8b
parent100f49f105126a26de6f1069679c20fd75194188
axmap: improve axmap_find_first_free()

Add a ret variable, saves a branch on return.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
lib/axmap.c