Arun Menon <[email protected]> writes: > The documentation of qemu_file_get_return_path() states that it can > return NULL on failure. However, a review of the current implementation > reveals that it is guaranteed that it will always succeed and will never > return NULL. > > As a result, the NULL checks post calling the function become redundant. > This commit updates the documentation for the function and removes all > NULL checks throughout the migration code. > > Reviewed-by: Daniel P. Berrangé <[email protected]> > Reviewed-by: Marc-André Lureau <[email protected]> > Signed-off-by: Arun Menon <[email protected]>
Reviewed-by: Fabiano Rosas <[email protected]>
