summaryrefslogtreecommitdiff
path: root/drivers/net/arcnet/arc-rawmode.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2015-05-05 10:05:49 -0700
committerMichael Grzeschik <m.grzeschik@pengutronix.de>2015-09-23 08:44:23 +0200
commit7f5e760c1b269044a4ba1b269263beca80ae2741 (patch)
tree0dd375faf8641f80967c456e1ff3fbdda86c1771 /drivers/net/arcnet/arc-rawmode.c
parent01a1d5ac4e1a5890fd6c0d0ae900e1b6e4f851d6 (diff)
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>
Diffstat (limited to 'drivers/net/arcnet/arc-rawmode.c')
-rw-r--r--drivers/net/arcnet/arc-rawmode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/arcnet/arc-rawmode.c b/drivers/net/arcnet/arc-rawmode.c
index 251a98b0bf78..500b5bb2cff4 100644
--- a/drivers/net/arcnet/arc-rawmode.c
+++ b/drivers/net/arcnet/arc-rawmode.c
@@ -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);