diff options
author | Sven Eckelmann <sven@narfation.org> | 2012-03-07 09:07:48 +0100 |
---|---|---|
committer | Marek Lindner <lindner_marek@yahoo.de> | 2012-03-11 06:29:44 +0800 |
commit | 40e0c4f51d3fc3fd54edc797adae314fbe2b96a6 (patch) | |
tree | 68205612be6d2bd3301ac8a6999f9d302a5199f8 /net/batman-adv/send.c | |
parent | 96741ade15187bfde3dddc4092a88ba7a7c9183c (diff) | |
download | op-kernel-dev-40e0c4f51d3fc3fd54edc797adae314fbe2b96a6.zip op-kernel-dev-40e0c4f51d3fc3fd54edc797adae314fbe2b96a6.tar.gz |
batman-adv: Remove spaces after a cast
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv/send.c')
-rw-r--r-- | net/batman-adv/send.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/send.c b/net/batman-adv/send.c index f261ccf..af7a674 100644 --- a/net/batman-adv/send.c +++ b/net/batman-adv/send.c @@ -56,7 +56,7 @@ int send_skb_packet(struct sk_buff *skb, struct hard_iface *hard_iface, skb_reset_mac_header(skb); - ethhdr = (struct ethhdr *) skb_mac_header(skb); + ethhdr = (struct ethhdr *)skb_mac_header(skb); memcpy(ethhdr->h_source, hard_iface->net_dev->dev_addr, ETH_ALEN); memcpy(ethhdr->h_dest, dst_addr, ETH_ALEN); ethhdr->h_proto = __constant_htons(ETH_P_BATMAN); |