From 5c300591422a497e0ed02fd92fdd0d2247d92b55 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Fri, 26 Apr 2013 12:39:21 +1000 Subject: [PATCH] Trivial style change --- driver-bflsc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/driver-bflsc.c b/driver-bflsc.c index d55525e4..afed24b2 100644 --- a/driver-bflsc.c +++ b/driver-bflsc.c @@ -661,8 +661,8 @@ static bool bflsc_detect_one(struct libusb_device *dev, struct usb_find_devices bool ident_first; char *newname; - struct cgpu_info *bflsc = NULL; - bflsc = calloc(1, sizeof(*bflsc)); + struct cgpu_info *bflsc = calloc(1, sizeof(*bflsc)); + bflsc->drv = &bflsc_drv; bflsc->deven = DEV_ENABLED; bflsc->threads = 1;