port: Clean up coding style.
Re-arrange local variables into a more legible reverse Christmas tree. Signed-off-by: Richard Cochran <richardcochran@gmail.com>master
parent
b01e84af98
commit
0a726b4390
12
port.c
12
port.c
|
@ -706,13 +706,13 @@ static int port_management_fill_response(struct port *target,
|
||||||
struct ptp_message *rsp, int id)
|
struct ptp_message *rsp, int id)
|
||||||
{
|
{
|
||||||
int datalen = 0, respond = 0;
|
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 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;
|
uint8_t *buf;
|
||||||
uint16_t u16;
|
uint16_t u16;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue