Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osd: remove the redundant clear method in consume_map function #10553

Merged
merged 1 commit into from Nov 25, 2016

Conversation

songbaisen
Copy link

@songbaisen songbaisen commented Aug 3, 2016

osd: remove the redundant clear method in consume_map function

In the above loop before this to_remove to clear,we have remove all
the element.So this clear method is redundant.

Signed-off-by: song baisen song.baisen@zte.com.cn

@ghost ghost added core cleanup labels Nov 23, 2016
@ghost
Copy link

ghost commented Nov 23, 2016

please explain in the commit message where is the first occurrence and why the code in between makes it redundant

In the above loop before this to_remove to clear,we have remove all

the element.So this clear method is redundant.

Signed-off-by: song baisen <song.baisen@zte.com.cn>
@songbaisen
Copy link
Author

@dachary Done it.

@ghost ghost added the needs-qa label Nov 24, 2016
@tchaikov tchaikov merged commit 92f1e89 into ceph:master Nov 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants