mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
net/net.c: cosmetic: fix indentation
This removes the following checkpatch issues: - ERROR: switch and case should be at the same indent - WARNING: suspect code indent for conditional statements - WARNING: labels should not be indented Signed-off-by: Luca Ceresoli <luca.ceresoli@comelit.it> Cc: Wolfgang Denk <wd@denx.de> Cc: Ben Warren <biggerbadderben@gmail.com>
This commit is contained in:
parent
92895de978
commit
c819abeef7
1 changed files with 41 additions and 42 deletions
|
@ -1128,8 +1128,7 @@ CDPHandler(const uchar *pkt, unsigned len)
|
||||||
ss = (const ushort *)(t + 1);
|
ss = (const ushort *)(t + 1);
|
||||||
|
|
||||||
#ifdef CONFIG_CDP_APPLIANCE_VLAN_TYPE
|
#ifdef CONFIG_CDP_APPLIANCE_VLAN_TYPE
|
||||||
if (applid ==
|
if (applid == CONFIG_CDP_APPLIANCE_VLAN_TYPE)
|
||||||
CONFIG_CDP_APPLIANCE_VLAN_TYPE)
|
|
||||||
vlan = *ss;
|
vlan = *ss;
|
||||||
#else
|
#else
|
||||||
/* XXX will this work; dunno */
|
/* XXX will this work; dunno */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue