arcnet: Use normal kernel brace style
Move braces normal kernel locations. Add missing braces. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
This commit is contained in:

committed by
Michael Grzeschik

parent
01a1d5ac4e
commit
7f5e760c1b
@@ -42,8 +42,7 @@ static int build_header(struct sk_buff *skb, struct net_device *dev,
|
||||
static int prepare_tx(struct net_device *dev, struct archdr *pkt, int length,
|
||||
int bufnum);
|
||||
|
||||
static struct ArcProto rawmode_proto =
|
||||
{
|
||||
static struct ArcProto rawmode_proto = {
|
||||
.suffix = 'r',
|
||||
.mtu = XMTU,
|
||||
.rx = rx,
|
||||
@@ -183,8 +182,9 @@ static int prepare_tx(struct net_device *dev, struct archdr *pkt, int length,
|
||||
} else if (length > MTU) {
|
||||
hard->offset[0] = 0;
|
||||
hard->offset[1] = ofs = 512 - length - 3;
|
||||
} else
|
||||
} else {
|
||||
hard->offset[0] = ofs = 256 - length;
|
||||
}
|
||||
|
||||
BUGMSG(D_DURING, "prepare_tx: length=%d ofs=%d\n",
|
||||
length, ofs);
|
||||
|
Reference in New Issue
Block a user