Re-arrange local variables into a more legible reverse Christmas tree.
Signed-off-by: Richard Cochran <[email protected]>
---
port.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/port.c b/port.c
index 6cc5dd0..76af2ae 100644
--- a/port.c
+++ b/port.c
@@ -704,13 +704,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 mgmt_clock_description *cd;
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 port_properties_np *ppn;
+ struct management_tlv *tlv;
+ struct port_ds_np *pdsnp;
+ struct portDS *pds;
uint8_t *buf;
uint16_t u16;
--
2.11.0
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel