
As pointer out by Stefan Chulski, this variable is unused and should be removed.
Signed-off-by: Stefan Roese sr@denx.de Cc: Stefan Chulski stefanc@marvell.com ---
drivers/net/mvpp2.c | 4 ---- 1 file changed, 4 deletions(-)
diff --git a/drivers/net/mvpp2.c b/drivers/net/mvpp2.c index b506483aa9..954041e7c3 100644 --- a/drivers/net/mvpp2.c +++ b/drivers/net/mvpp2.c @@ -1260,9 +1260,6 @@ struct mvpp2_bm_pool {
/* Ports using BM pool */ u32 port_map; - - /* Occupied buffers indicator */ - int in_use_thresh; };
/* Static declaractions */ @@ -2815,7 +2812,6 @@ static int mvpp2_bm_bufs_add(struct mvpp2_port *port,
/* Update BM driver with number of buffers added to pool */ bm_pool->buf_num += i; - bm_pool->in_use_thresh = bm_pool->buf_num / 4;
return i; }