Remove unused variable.
diff --git a/cgminer.c b/cgminer.c
index cd66c0b..b016114 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -3799,7 +3799,6 @@ enum {
/* Stage another work item from the work returned in a longpoll */
static void convert_to_work(json_t *val, bool rolltime, struct pool *pool)
{
- struct pool *cp = current_pool();
struct work *work, *work_clone;
bool rc;