Commit ed77d22d22fe7d80d4b4480ec3e2b7324032e726

Con Kolivas 2014-01-24T23:57:31

Quiet now unused variable warning in hfa detect.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/driver-hashfast.c b/driver-hashfast.c
index 9120fc2..c58adf1 100644
--- a/driver-hashfast.c
+++ b/driver-hashfast.c
@@ -491,7 +491,7 @@ static struct cgpu_info *hfa_detect_one(libusb_device *dev, struct usb_find_devi
 	return hashfast;
 }
 
-static void hfa_detect(bool hotplug)
+static void hfa_detect(bool __maybe_unused hotplug)
 {
 	/* Set up the CRC tables only once. */
 	if (!hfa_crc8_set)