[1/2] batman-adv: Remove unused work_struct forward declaration

Message ID 1462444519-26509-1-git-send-email-sven.eckelmann@open-mesh.com (mailing list archive)
State Accepted, archived
Commit 2ceab95956f05020e9c440f5fd33a45e5ff30126
Delegated to: Marek Lindner
Headers

Commit Message

Sven Eckelmann May 5, 2016, 10:35 a.m. UTC
  The only function declaration using the "struct work_struct" was removed
and thus this forward declaration should also be removed.

Fixes: 0d8468553c3c ("batman-adv: remove ogm_emit and ogm_schedule API calls")
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
---
Problem was found by https://lists.open-mesh.org/pipermail/linux-merge/2016-May/003146.html

 net/batman-adv/send.h | 1 -
 1 file changed, 1 deletion(-)
  

Comments

Marek Lindner May 5, 2016, 2:57 p.m. UTC | #1
On Thursday, May 05, 2016 12:35:18 Sven Eckelmann wrote:
> The only function declaration using the "struct work_struct" was removed
> and thus this forward declaration should also be removed.
> 
> Fixes: 0d8468553c3c ("batman-adv: remove ogm_emit and ogm_schedule API
> calls") Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
> ---
> Problem was found by
> https://lists.open-mesh.org/pipermail/linux-merge/2016-May/003146.html
> 
>  net/batman-adv/send.h | 1 -
>  1 file changed, 1 deletion(-)

Applied in revision 2ceab95.

Thanks,
Marek
  

Patch

diff --git a/net/batman-adv/send.h b/net/batman-adv/send.h
index f6fda19..7cecb75 100644
--- a/net/batman-adv/send.h
+++ b/net/batman-adv/send.h
@@ -26,7 +26,6 @@ 
 #include "packet.h"
 
 struct sk_buff;
-struct work_struct;
 
 void batadv_forw_packet_free(struct batadv_forw_packet *forw_packet);
 int batadv_send_skb_to_orig(struct sk_buff *skb,