Fix typo

Signed-off-by: Igor Popov <igor.popov89@gmail.com>
Inline return value

Signed-off-by: Igor Popov <igor.popov89@gmail.com>