[PATCH v2 2/2] ATM: HE: Cleanup coding style (struct braces)
Jonathan Jin
jjin082693 at gmail.com
Mon Dec 15 19:26:41 EST 2014
Address checkpatch.pl complaints regarding proper struct brace placement
Signed-off-by: Jonathan Jin <jjin082693 at gmail.com>
---
drivers/atm/he.h | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/drivers/atm/he.h b/drivers/atm/he.h
index 160a315..a9750c6 100644
--- a/drivers/atm/he.h
+++ b/drivers/atm/he.h
@@ -236,13 +236,11 @@ struct he_group {
#define HE_LOOKUP_VCC(dev, cid) ((dev)->he_vcc_table[(cid)].vcc)
-struct he_vcc_table
-{
+struct he_vcc_table {
struct atm_vcc *vcc;
};
-struct he_cs_stper
-{
+struct he_cs_stper {
long pcr;
int inuse;
};
@@ -316,8 +314,7 @@ struct he_dev {
#define HE_MAXIOV 20
-struct he_vcc
-{
+struct he_vcc {
struct list_head buffers;
int pdu_len;
int rc_index;
--
2.1.3
More information about the Kernelnewbies
mailing list