From 0a726b4390b030db2b22fa533c815588a0374dbb Mon Sep 17 00:00:00 2001 From: Richard Cochran Date: Tue, 30 Jan 2018 05:01:58 +0100 Subject: [PATCH] port: Clean up coding style. Re-arrange local variables into a more legible reverse Christmas tree. Signed-off-by: Richard Cochran --- port.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/port.c b/port.c index c69363c..c758a9f 100644 --- a/port.c +++ b/port.c @@ -706,13 +706,13 @@ static int port_management_fill_response(struct port *target, struct ptp_message *rsp, int id) { int datalen = 0, respond = 0; - struct management_tlv *tlv; - struct management_tlv_datum *mtd; - struct portDS *pds; - struct port_ds_np *pdsnp; - struct port_properties_np *ppn; - struct clock_description *desc; struct mgmt_clock_description *cd; + struct management_tlv_datum *mtd; + struct clock_description *desc; + struct port_properties_np *ppn; + struct management_tlv *tlv; + struct port_ds_np *pdsnp; + struct portDS *pds; uint8_t *buf; uint16_t u16;