]> sigrok.org Git - libsigrok.git/commitdiff
fx2lafw: minor cleanup
authorBert Vermeulen <redacted>
Thu, 2 Aug 2012 21:51:47 +0000 (23:51 +0200)
committerBert Vermeulen <redacted>
Fri, 3 Aug 2012 09:29:00 +0000 (11:29 +0200)
hardware/fx2lafw/fx2lafw.c

index 368b0245c0086f3abc39657483065ecfddccd320..a6817340cc221f71ef20aba8cf89c5db6954c964 100644 (file)
@@ -602,7 +602,6 @@ static int hw_cleanup(void)
        if (!(drvc = fdi->priv))
                return SR_OK;
 
-       drvc = fdi->priv;
        ret = clear_instances();
 
        if (drvc->usb_context)