net: Fix warning fallout from recent NAPI interface changes.
[linux-2.6.git] / drivers / net / myri10ge / myri10ge.c
index 2da3ce1..5e70180 100644 (file)
@@ -1503,7 +1503,6 @@ static int myri10ge_poll(struct napi_struct *napi, int budget)
 {
        struct myri10ge_slice_state *ss =
            container_of(napi, struct myri10ge_slice_state, napi);
-       struct net_device *netdev = ss->mgp->dev;
        int work_done;
 
 #ifdef CONFIG_MYRI10GE_DCA