* [B.A.T.M.A.N.] [PATCH 3/3] batman-adv: Remove unused variable
@ 2009-12-31 3:41 =?UTF-8?q?Linus=20L=C3=BCssing?=
2010-01-01 16:40 ` Simon Wunderlich
0 siblings, 1 reply; 2+ messages in thread
From: =?UTF-8?q?Linus=20L=C3=BCssing?= @ 2009-12-31 3:41 UTC (permalink / raw)
To: b.a.t.m.a.n
The variable 'flag' is never being used in this function, therefore
removing it.
Signed-off-by: Linus Lüssing <linus.luessing@web.de>
---
soft-interface.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/soft-interface.c b/soft-interface.c
index 4d4d542..bc0217b 100644
--- a/soft-interface.c
+++ b/soft-interface.c
@@ -148,7 +148,6 @@ struct net_device_stats *interface_stats(struct net_device *dev)
int interface_set_mac_addr(struct net_device *dev, void *p)
{
struct sockaddr *addr = p;
- unsigned long flags;
if (!is_valid_ether_addr(addr->sa_data))
return -EADDRNOTAVAIL;
--
1.6.5.7
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [B.A.T.M.A.N.] [PATCH 3/3] batman-adv: Remove unused variable
2009-12-31 3:41 [B.A.T.M.A.N.] [PATCH 3/3] batman-adv: Remove unused variable =?UTF-8?q?Linus=20L=C3=BCssing?=
@ 2010-01-01 16:40 ` Simon Wunderlich
0 siblings, 0 replies; 2+ messages in thread
From: Simon Wunderlich @ 2010-01-01 16:40 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
[-- Attachment #1: Type: text/plain, Size: 1098 bytes --]
Hey Linus,
sorry, i have not seen your patch and checked this in myself (r1525). Thanks
for reporting it anyway. :)
best regards,
Simon
On Thu, Dec 31, 2009 at 04:41:20AM +0100, =?UTF-8?q?Linus=20L=C3=BCssing?= wrote:
> The variable 'flag' is never being used in this function, therefore
> removing it.
>
> Signed-off-by: Linus Lüssing <linus.luessing@web.de>
> ---
> soft-interface.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/soft-interface.c b/soft-interface.c
> index 4d4d542..bc0217b 100644
> --- a/soft-interface.c
> +++ b/soft-interface.c
> @@ -148,7 +148,6 @@ struct net_device_stats *interface_stats(struct net_device *dev)
> int interface_set_mac_addr(struct net_device *dev, void *p)
> {
> struct sockaddr *addr = p;
> - unsigned long flags;
>
> if (!is_valid_ether_addr(addr->sa_data))
> return -EADDRNOTAVAIL;
> --
> 1.6.5.7
>
> _______________________________________________
> B.A.T.M.A.N mailing list
> B.A.T.M.A.N@lists.open-mesh.net
> https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-01 16:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-31 3:41 [B.A.T.M.A.N.] [PATCH 3/3] batman-adv: Remove unused variable =?UTF-8?q?Linus=20L=C3=BCssing?=
2010-01-01 16:40 ` Simon Wunderlich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox