Commit deb28d9bc4bb6922c1f7e459744d7b2d0db3a1d2

Authored by Manish Katiyar
Committed by David S. Miller
1 parent ab55570d64

net/802/fc.c: Fix compilation warnings

Signed-off-by: Manish Katiyar <mkatiyar@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -82,13 +82,13 @@
82 82  
83 83 static int fc_rebuild_header(struct sk_buff *skb)
84 84 {
  85 +#ifdef CONFIG_INET
85 86 struct fch_hdr *fch=(struct fch_hdr *)skb->data;
86 87 struct fcllc *fcllc=(struct fcllc *)(skb->data+sizeof(struct fch_hdr));
87 88 if(fcllc->ethertype != htons(ETH_P_IP)) {
88 89 printk("fc_rebuild_header: Don't know how to resolve type %04X addresses ?\n", ntohs(fcllc->ethertype));
89 90 return 0;
90 91 }
91   -#ifdef CONFIG_INET
92 92 return arp_find(fch->daddr, skb);
93 93 #else
94 94 return 0;