Skip to content

Commit

Permalink
core: lint remove redundant field (#7433)
Browse files Browse the repository at this point in the history
  • Loading branch information
voidzcy committed Sep 16, 2020
1 parent f04f33e commit 80f6d87
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core/src/main/java/io/grpc/internal/ManagedChannelImpl.java
Expand Up @@ -1737,7 +1737,6 @@ private final class SubchannelImpl extends AbstractSubchannel {
final InternalLogId subchannelLogId;
final ChannelLoggerImpl subchannelLogger;
final ChannelTracer subchannelTracer;
SubchannelStateListener listener;
InternalSubchannel subchannel;
boolean started;
boolean shutdown;
Expand All @@ -1759,7 +1758,6 @@ private void internalStart(final SubchannelStateListener listener) {
checkState(!started, "already started");
checkState(!shutdown, "already shutdown");
started = true;
this.listener = listener;
// TODO(zhangkun): possibly remove the volatile of terminating when this whole method is
// required to be called from syncContext
if (terminating) {
Expand Down

0 comments on commit 80f6d87

Please sign in to comment.