1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-10 14:58:01 +00:00

unused preprocessor directive

This commit is contained in:
Jan Berdajs 2014-07-01 01:29:27 +02:00
parent 50483e35cb
commit d9b1f2065d

3
api.c
View File

@ -843,9 +843,6 @@ struct api_data *print_data(struct api_data *root, char *buf, bool isjson, bool
return root;
}
#define DRIVER_COUNT_DRV(X) if (devices[i]->drv->drv_id == DRIVER_##X) \
count++;
// All replies (except BYE and RESTART) start with a message
// thus for JSON, message() inserts JSON_START at the front
// and send_result() adds JSON_END at the end