OSDN Git Service

silicom: fix coding style issues in bypass.c
authorMichael Hoefler <michael.hoefler@studium.uni-erlangen.de>
Fri, 20 Dec 2013 13:51:12 +0000 (14:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Dec 2013 17:04:49 +0000 (09:04 -0800)
commit6618b7506962ccc2ee78965af9083e836d0dd371
treeef92b7b3a13e1d5502967555ea7f6a78ef725d0c
parent74552f1b2f7bee7f8a7d3040ce86a1df167ec691
silicom: fix coding style issues in bypass.c

This patch improves bypass.c (in staging) in terms of coding style. This
includes different issues some of them mentioned by checkpatch:

 - a c++ one line comment
 - parenthesis at return statementes
 - multiple definitions in one line
 - missing braces according to the style guide

Signed-off-by: Michael Hoefler <michael.hoefler@studium.uni-erlangen.de>
Signed-off-by: Christoph Kohl <christoph.kohl@t-online.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/silicom/bypasslib/bypass.c