jtag: remote_bitbang: drop useless typedef flush_bool_t
No need to use a typedef for an enum. Drop it. Change-Id: I122784ddd7b81ccd86da258b08526685c3d70033 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8706 Tested-by: jenkins Reviewed-by: zapb <dev@zapb.de>
This commit is contained in:
parent
894a39eda3
commit
8a5c331831
|
@ -145,12 +145,12 @@ static int remote_bitbang_fill_buf(enum block_bool block)
|
|||
return ERROR_OK;
|
||||
}
|
||||
|
||||
typedef enum {
|
||||
enum flush_bool {
|
||||
NO_FLUSH,
|
||||
FLUSH_SEND_BUF
|
||||
} flush_bool_t;
|
||||
};
|
||||
|
||||
static int remote_bitbang_queue(int c, flush_bool_t flush)
|
||||
static int remote_bitbang_queue(int c, enum flush_bool flush)
|
||||
{
|
||||
remote_bitbang_send_buf[remote_bitbang_send_buf_used++] = c;
|
||||
if (flush == FLUSH_SEND_BUF ||
|
||||
|
|
Loading…
Reference in New Issue