Remove the redundant condition inclusion to avoid confusion (#4254)

Summary:
The pair of ROCKSDB_LITE condition inclusion is redundant, it is already inside the #ifndef ROCKSDB_LITE. Remove them to void confusion.

Tested by make asan_check.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/4254

Differential Revision: D9281652

Pulled By: zhichao-cao

fbshipit-source-id: 06bf7641ede71391f21f6a3fe37fbd13f0e2a43a
This commit is contained in:
Zhichao Cao 2018-08-10 17:23:25 -07:00 committed by Facebook Github Bot
parent d511f35ea7
commit 76d77205da

View file

@ -3091,7 +3091,6 @@ Status DBImpl::VerifyChecksum() {
void DBImpl::NotifyOnExternalFileIngested( void DBImpl::NotifyOnExternalFileIngested(
ColumnFamilyData* cfd, const ExternalSstFileIngestionJob& ingestion_job) { ColumnFamilyData* cfd, const ExternalSstFileIngestionJob& ingestion_job) {
#ifndef ROCKSDB_LITE
if (immutable_db_options_.listeners.empty()) { if (immutable_db_options_.listeners.empty()) {
return; return;
} }
@ -3107,8 +3106,6 @@ void DBImpl::NotifyOnExternalFileIngested(
listener->OnExternalFileIngested(this, info); listener->OnExternalFileIngested(this, info);
} }
} }
#endif
} }
void DBImpl::WaitForIngestFile() { void DBImpl::WaitForIngestFile() {