forked from auracaster/openocd
target_request: drop useless typedef target_req_cmd_t
No need to use a typedef for an enum. Drop it. Change-Id: Ib5a872b52a6f3d7379d2662e4ff84f32c2bd2ef8 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8705 Reviewed-by: zapb <dev@zapb.de> Tested-by: jenkins
This commit is contained in:
@@ -107,7 +107,7 @@ static int target_hexmsg(struct target *target, int size, uint32_t length)
|
||||
*/
|
||||
int target_request(struct target *target, uint32_t request)
|
||||
{
|
||||
target_req_cmd_t target_req_cmd = request & 0xff;
|
||||
enum target_req_cmd target_req_cmd = request & 0xff;
|
||||
|
||||
assert(target->type->target_request_data);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user