diff --git a/driver/src/main/com/mongodb/DBObjectCodec.java b/driver/src/main/com/mongodb/DBObjectCodec.java
index <HASH>..<HASH> 100644
--- a/driver/src/main/com/mongodb/DBObjectCodec.java
+++ b/driver/src/main/com/mongodb/DBObjectCodec.java
@@ -64,7 +64,6 @@ public class DBObjectCodec implements CollectibleCodec<DBObject> {
 
     private final CodecRegistry codecRegistry;
     private final BsonTypeClassMap bsonTypeClassMap;
-    private final DB db;
     private final DBObjectFactory objectFactory;
     private final IdGenerator idGenerator = new ObjectIdGenerator();
Removed unused DB reference in DBObjectCodec