From 82a97a04f5f6ee82c91d20a6974fce00c79143e9 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Tue, 5 Nov 2013 21:27:11 +1100 Subject: [PATCH] Avalon doesn't like losing its device data even after it's been unplugged. --- driver-avalon.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/driver-avalon.c b/driver-avalon.c index d10567eb..7cced1f9 100644 --- a/driver-avalon.c +++ b/driver-avalon.c @@ -1611,8 +1611,6 @@ static void avalon_shutdown(struct thr_info *thr) mutex_destroy(&info->lock); free(avalon->works); avalon->works = NULL; - free(avalon->device_data); - avalon->device_data = NULL; } static char *avalon_set_device(struct cgpu_info *avalon, char *option, char *setting, char *replybuf)