batman-adv: Remove unused include atomic.h

Message ID 1462947407-25493-1-git-send-email-sven@narfation.org (mailing list archive)
State Accepted, archived
Commit 84f863520532ed2988726aad0cee78f19838ed13
Delegated to: Marek Lindner
Headers

Commit Message

Sven Eckelmann May 11, 2016, 6:16 a.m. UTC
  The only atomic_* function was removed in the bat_v.c and thus the include
should also be removed.

Fixes: 71e957cd30a0 ("batman-adv: init ELP tweaking options only once")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
 net/batman-adv/bat_v.c | 1 -
 1 file changed, 1 deletion(-)
  

Comments

Marek Lindner May 11, 2016, 7:49 a.m. UTC | #1
On Wednesday, May 11, 2016 08:16:47 Sven Eckelmann wrote:
> The only atomic_* function was removed in the bat_v.c and thus the include
> should also be removed.
> 
> Fixes: 71e957cd30a0 ("batman-adv: init ELP tweaking options only once")
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
> ---
>  net/batman-adv/bat_v.c | 1 -
>  1 file changed, 1 deletion(-)

Applied in revision 84f8635.

Thanks,
Marek
  

Patch

diff --git a/net/batman-adv/bat_v.c b/net/batman-adv/bat_v.c
index 3c5d251..b9c2850 100644
--- a/net/batman-adv/bat_v.c
+++ b/net/batman-adv/bat_v.c
@@ -18,7 +18,6 @@ 
 #include "bat_algo.h"
 #include "main.h"
 
-#include <linux/atomic.h>
 #include <linux/bug.h>
 #include <linux/cache.h>
 #include <linux/init.h>