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;