remove tracing::intrument annotations (#3197)

* remove tracing::intrument annotations

* remove unused param and leftover

* more leftovers
This commit is contained in:
Andronik Ordian
2021-06-09 12:35:18 +02:00
committed by GitHub
parent 99d49ad7c9
commit 29b531f4ec
22 changed files with 0 additions and 131 deletions
@@ -1102,7 +1102,6 @@ impl State {
/// Modify the reputation of a peer based on its behavior.
#[tracing::instrument(level = "trace", skip(ctx), fields(subsystem = LOG_TARGET))]
async fn modify_reputation(
ctx: &mut impl SubsystemContext<Message = ApprovalDistributionMessage>,
peer_id: PeerId,
@@ -1126,7 +1125,6 @@ impl ApprovalDistribution {
Self { metrics }
}
#[tracing::instrument(skip(self, ctx), fields(subsystem = LOG_TARGET))]
async fn run<Context>(self, ctx: Context)
where
Context: SubsystemContext<Message = ApprovalDistributionMessage>,
@@ -1136,7 +1134,6 @@ impl ApprovalDistribution {
}
/// Used for testing.
#[tracing::instrument(skip(self, ctx, state), fields(subsystem = LOG_TARGET))]
async fn run_inner<Context>(self, mut ctx: Context, state: &mut State)
where
Context: SubsystemContext<Message = ApprovalDistributionMessage>,