|
@@ -780,11 +780,9 @@ static int netsec_process_rx(struct netsec_priv *priv, int budget)
|
|
static int netsec_napi_poll(struct napi_struct *napi, int budget)
|
|
static int netsec_napi_poll(struct napi_struct *napi, int budget)
|
|
{
|
|
{
|
|
struct netsec_priv *priv;
|
|
struct netsec_priv *priv;
|
|
- struct net_device *ndev;
|
|
|
|
int tx, rx, done, todo;
|
|
int tx, rx, done, todo;
|
|
|
|
|
|
priv = container_of(napi, struct netsec_priv, napi);
|
|
priv = container_of(napi, struct netsec_priv, napi);
|
|
- ndev = priv->ndev;
|
|
|
|
|
|
|
|
todo = budget;
|
|
todo = budget;
|
|
do {
|
|
do {
|