Commit:     8c92e6b0bf48a1735ddc61ebb08a0bb77c6bfa23
Parent:     d535a916cdb1620d936a0a6197194c458854bd71
Author:     Pavel Emelyanov <[EMAIL PROTECTED]>
AuthorDate: Thu Nov 22 19:15:56 2007 +0800
Committer:  Herbert Xu <[EMAIL PROTECTED]>
CommitDate: Thu Nov 22 19:15:56 2007 +0800

    [IRDA]: Compilation for CONFIG_INET=n case
    Found this occasionally.
    The CONFIG_INET=n is hardly ever set, but if it is the
    irlan_eth_send_gratuitous_arp() compilation should produce a
    warning about unused variable in_dev.
    Too pedantic? :)
    Signed-off-by: Pavel Emelyanov <[EMAIL PROTECTED]>
    Signed-off-by: Herbert Xu <[EMAIL PROTECTED]>
 net/irda/irlan/irlan_eth.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/irda/irlan/irlan_eth.c b/net/irda/irlan/irlan_eth.c
index 7f9c854..c682207 100644
--- a/net/irda/irlan/irlan_eth.c
+++ b/net/irda/irlan/irlan_eth.c
@@ -296,6 +296,7 @@ void irlan_eth_flow_indication(void *instance, void *sap, 
 void irlan_eth_send_gratuitous_arp(struct net_device *dev)
        struct in_device *in_dev;
@@ -303,7 +304,6 @@ void irlan_eth_send_gratuitous_arp(struct net_device *dev)
         * is useful if we have changed access points on the same
         * subnet.
        IRDA_DEBUG(4, "IrLAN: Sending gratuitous ARP\n");
        in_dev = __in_dev_get_rcu(dev);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to