Remove unnecessary casts
[fw/openocd] / src / helper / command.c
index b374187d061f544be7a80d93e4db1ddb434fe347..85abe6bcf0328ff4c4d1fbec32b223107d6af95a 100644 (file)
@@ -57,7 +57,7 @@ struct log_capture_state {
 static void tcl_output(void *privData, const char *file, unsigned line,
        const char *function, const char *string)
 {
-       struct log_capture_state *state = (struct log_capture_state *)privData;
+       struct log_capture_state *state = privData;
        Jim_AppendString(state->interp, state->output, string, strlen(string));
 }