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>
master
Luca Ceresoli 13 years ago committed by Wolfgang Denk
parent 92895de978
commit c819abeef7
  1. 3
      net/net.c

@ -1128,8 +1128,7 @@ CDPHandler(const uchar *pkt, unsigned len)
ss = (const ushort *)(t + 1);
#ifdef CONFIG_CDP_APPLIANCE_VLAN_TYPE
if (applid ==
CONFIG_CDP_APPLIANCE_VLAN_TYPE)
if (applid == CONFIG_CDP_APPLIANCE_VLAN_TYPE)
vlan = *ss;
#else
/* XXX will this work; dunno */

Loading…
Cancel
Save