compilation error - missing return value

Change-Id: Ie53c6ce927d6ca0005a0d893c369203bf3a8e548
Signed-off-by: Or Kehati <ork@mellanox.com>