[ I was not sure about which list is this appropriate, so putting kernel-janitors since this is cleanup] Below patch fixes the following warning during compilation. net/802/fc.c:85: warning: unused variable 'fch' Signed-off-by: Manish Katiyar <mkatiyar@xxxxxxxxx> --- net/802/fc.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/net/802/fc.c b/net/802/fc.c index cb3475e..7463109 100644 --- a/net/802/fc.c +++ b/net/802/fc.c @@ -82,7 +82,9 @@ static int fc_header(struct sk_buff *skb, struct net_device *dev, static int fc_rebuild_header(struct sk_buff *skb) { +#ifdef CONFIG_INET struct fch_hdr *fch=(struct fch_hdr *)skb->data; +#endif struct fcllc *fcllc=(struct fcllc *)(skb->data+sizeof(struct fch_hdr)); if(fcllc->ethertype != htons(ETH_P_IP)) { printk("fc_rebuild_header: Don't know how to resolve type %04X addresses ?\n", ntohs(fcllc->ethertype)); -- 1.5.4.3 Thanks - Manish -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html