subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@apache.org
Subject svn commit: r1136147 - in /subversion/trunk/subversion/libsvn_ra_serf: ra_serf.h serf.c util.c
Date Wed, 15 Jun 2011 18:49:30 GMT
Author: gstein
Date: Wed Jun 15 18:49:30 2011
New Revision: 1136147

URL: http://svn.apache.org/viewvc?rev=1136147&view=rev
Log:
Remove unused cleanup.

* subversion/libsvn_ra_serf/serf.c:
  (svn_ra_serf__open): don't bother registering a cleanup

* subversion/libsvn_ra_serf/util.c:
* subversion/libsvn_ra_serf/ra_serf.h:
  (svn_ra_serf__cleanup_serf_session): remove. unused.

Modified:
    subversion/trunk/subversion/libsvn_ra_serf/ra_serf.h
    subversion/trunk/subversion/libsvn_ra_serf/serf.c
    subversion/trunk/subversion/libsvn_ra_serf/util.c

Modified: subversion/trunk/subversion/libsvn_ra_serf/ra_serf.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/ra_serf.h?rev=1136147&r1=1136146&r2=1136147&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/ra_serf.h (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/ra_serf.h Wed Jun 15 18:49:30 2011
@@ -320,8 +320,6 @@ svn_ra_serf__conn_closed(serf_connection
                          apr_status_t why,
                          apr_pool_t *pool);
 
-apr_status_t
-svn_ra_serf__cleanup_serf_session(void *data);
 
 /* Helper function to provide SSL client certificates.
  *

Modified: subversion/trunk/subversion/libsvn_ra_serf/serf.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/serf.c?rev=1136147&r1=1136146&r2=1136147&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/serf.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/serf.c Wed Jun 15 18:49:30 2011
@@ -388,10 +388,6 @@ svn_ra_serf__open(svn_ra_session_t *sess
 
   SVN_ERR(load_config(serf_sess, config, serf_sess->pool));
 
-  /* register cleanups */
-  apr_pool_cleanup_register(serf_sess->pool, serf_sess,
-                            svn_ra_serf__cleanup_serf_session,
-                            apr_pool_cleanup_null);
 
   serf_sess->conns = apr_palloc(serf_sess->pool, sizeof(*serf_sess->conns) * 4);
 

Modified: subversion/trunk/subversion/libsvn_ra_serf/util.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/util.c?rev=1136147&r1=1136146&r2=1136147&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/util.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/util.c Wed Jun 15 18:49:30 2011
@@ -425,15 +425,6 @@ svn_ra_serf__conn_closed(serf_connection
                                             err);
 }
 
-apr_status_t
-svn_ra_serf__cleanup_serf_session(void *data)
-{
-  /* svn_ra_serf__session_t *serf_sess = data; */
-
-  /* Nothing to do. */
-
-  return APR_SUCCESS;
-}
 
 /* Implementation of svn_ra_serf__handle_client_cert */
 static svn_error_t *



Mime
View raw message