net: introduce napi_is_scheduled helper
[linux-2.6-microblaze.git] / drivers / net / ethernet / chelsio / cxgb3 / sge.c
index dfe4e01..6268f96 100644 (file)
@@ -2501,14 +2501,6 @@ static int napi_rx_handler(struct napi_struct *napi, int budget)
        return work_done;
 }
 
-/*
- * Returns true if the device is already scheduled for polling.
- */
-static inline int napi_is_scheduled(struct napi_struct *napi)
-{
-       return test_bit(NAPI_STATE_SCHED, &napi->state);
-}
-
 /**
  *     process_pure_responses - process pure responses from a response queue
  *     @adap: the adapter