]> granicus.if.org Git - transmission/commitdiff
(trunk libT) remove dead code: tr_sessionSetLazyBitfieldEnabled(), tr_sessionIsLazyBi...
authorJordan Lee <jordan@transmissionbt.com>
Mon, 21 Mar 2011 16:33:16 +0000 (16:33 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Mon, 21 Mar 2011 16:33:16 +0000 (16:33 +0000)
libtransmission/session.c
libtransmission/session.h
libtransmission/transmission.h

index be72b3e78c097e3fc95da8b7216178da39991504..fb694c5591aac338d1340f3d7522eba1b5189821 100644 (file)
@@ -2092,27 +2092,6 @@ tr_sessionGetCacheLimit_MB( const tr_session * session )
 ****
 ***/
 
-void
-tr_sessionSetLazyBitfieldEnabled( tr_session * session,
-                                  tr_bool      enabled )
-{
-    assert( tr_isSession( session ) );
-
-    session->useLazyBitfield = enabled != 0;
-}
-
-tr_bool
-tr_sessionIsLazyBitfieldEnabled( const tr_session * session )
-{
-    assert( tr_isSession( session ) );
-
-    return session->useLazyBitfield;
-}
-
-/***
-****
-***/
-
 struct port_forwarding_data
 {
     tr_bool enabled;
index f2d41539da3f59c76182320db670d192f1900c66..fee71793ab0bc67a624f4e777274e98f14c8553a 100644 (file)
@@ -101,7 +101,6 @@ struct tr_session
     tr_bool                      isPrefetchEnabled;
     tr_bool                      isTorrentDoneScriptEnabled;
     tr_bool                      isClosed;
-    tr_bool                      useLazyBitfield;
     tr_bool                      isIncompleteFileNamingEnabled;
     tr_bool                      isRatioLimited;
     tr_bool                      isIdleLimited;
index 40695c37eb201ad59a27f5382e744ca6d0c04539..f476b48af1ff085fd14cea3df87a0c26fa8e1caf 100644 (file)
@@ -585,9 +585,6 @@ void     tr_sessionSetLPDEnabled( tr_session * session, tr_bool enabled );
 void     tr_sessionSetCacheLimit_MB( tr_session * session, int mb );
 int      tr_sessionGetCacheLimit_MB( const tr_session * session );
 
-void     tr_sessionSetLazyBitfieldEnabled( tr_session * session, tr_bool enabled );
-tr_bool  tr_sessionIsLazyBitfieldEnabled( const tr_session * session );
-
 tr_encryption_mode tr_sessionGetEncryption( tr_session * session );
 void               tr_sessionSetEncryption( tr_session * session,
                                             tr_encryption_mode    mode );