aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/soft-interface.c
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2011-05-08 06:45:45 -0400
committerSven Eckelmann <sven@narfation.org>2011-05-08 10:10:42 -0400
commit6e215fd8eb4930373d01da0fac16a0889804fac3 (patch)
tree1a729ac6d586e4e7394276055c79e9f1ccb256f7 /net/batman-adv/soft-interface.c
parent2dafb49d84a9195193b28ac5047df1bbab6053b9 (diff)
batman-adv: Remove multiline comments from line ending
It is slightly irritating that comments after a long line span over multiple lines without any code. It is easier to put them before the actual code and reduce the number of lines which the eye has to read. Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv/soft-interface.c')
-rw-r--r--net/batman-adv/soft-interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/soft-interface.c b/net/batman-adv/soft-interface.c
index d6aaf9fa64d4..8e962e3aa427 100644
--- a/net/batman-adv/soft-interface.c
+++ b/net/batman-adv/soft-interface.c
@@ -793,8 +793,8 @@ static void interface_setup(struct net_device *dev)
793 * have not been initialized yet 793 * have not been initialized yet
794 */ 794 */
795 dev->mtu = ETH_DATA_LEN; 795 dev->mtu = ETH_DATA_LEN;
796 dev->hard_header_len = BAT_HEADER_LEN; /* reserve more space in the 796 /* reserve more space in the skbuff for our header */
797 * skbuff for our header */ 797 dev->hard_header_len = BAT_HEADER_LEN;
798 798
799 /* generate random address */ 799 /* generate random address */
800 random_ether_addr(dev_addr); 800 random_ether_addr(dev_addr);