FT2232: bulidfix
authorSpencer Oliver <ntfreak@users.sourceforge.net>
Mon, 15 Mar 2010 10:06:47 +0000 (10:06 +0000)
committerSpencer Oliver <ntfreak@users.sourceforge.net>
Mon, 15 Mar 2010 10:06:47 +0000 (10:06 +0000)
Fix build issue with commit c23d4596d2239bdbba080499de837f53e0c89e59

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
src/jtag/drivers/ft2232.c

index 10e4636..b45e8a4 100644 (file)
@@ -2021,7 +2021,7 @@ static int ft2232_init_ftd2xx(uint16_t vid, uint16_t pid, int more, int* try_mor
        char*   openex_string = NULL;
        uint8_t latency_timer;
 
-       if ((layout == NULL) {
+       if (layout == NULL) {
                LOG_WARNING("No ft2232 layout specified'");
                return ERROR_JTAG_INIT_FAILED;
        }