Browse Source

Remove unused add_pool_details5

Luke Dashjr 13 years ago
parent
commit
b937157452
2 changed files with 1 additions and 8 deletions
  1. 1 7
      miner.c
  2. 0 1
      miner.h

+ 1 - 7
miner.c

@@ -6178,7 +6178,7 @@ char *curses_input(const char *query)
 }
 #endif
 
-void add_pool_details5(bool live, char *url, char *user, char *pass, char *proxy)
+void add_pool_details(bool live, char *url, char *user, char *pass)
 {
 	struct pool *pool;
 
@@ -6191,7 +6191,6 @@ void add_pool_details5(bool live, char *url, char *user, char *pass, char *proxy
 	if (!pool->rpc_userpass)
 		quit(1, "Failed to malloc userpass");
 	sprintf(pool->rpc_userpass, "%s:%s", pool->rpc_user, pool->rpc_pass);
-	pool->rpc_proxy = proxy;
 
 	/* Test the pool is not idle if we're live running, otherwise
 	 * it will be tested separately */
@@ -6200,11 +6199,6 @@ void add_pool_details5(bool live, char *url, char *user, char *pass, char *proxy
 		pool->idle = true;
 }
 
-void add_pool_details(bool live, char *url, char *user, char *pass)
-{
-	add_pool_details5(live, url, user, pass, NULL);
-}
-
 #ifdef HAVE_CURSES
 static bool input_pool(bool live)
 {

+ 0 - 1
miner.h

@@ -715,7 +715,6 @@ extern void api(int thr_id);
 
 extern struct pool *current_pool(void);
 extern int enabled_pools;
-extern void add_pool_details5(bool live, char *url, char *user, char *pass, char *proxy);
 extern void add_pool_details(bool live, char *url, char *user, char *pass);
 
 #define MAX_GPUDEVICES 16