drivers: net: xgene: uninitialized variable in xgene_enet_free_pagepool()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 7 Dec 2016 11:14:24 +0000 (14:14 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Dec 2016 16:27:46 +0000 (11:27 -0500)
commit0b801290ea9468a3ed9577281afdb458001ce0d1
tree79b0934df57c6e236703ba97351738f876122c70
parent635abf01918157e61dc9cfdfd70c40bd5957b6a3
drivers: net: xgene: uninitialized variable in xgene_enet_free_pagepool()

We never set "slots" in this function.

Fixes: a9380b0f7be8 ("drivers: net: xgene: Add support for Jumbo frame")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Iyappan Subramanian <isubramanian@apm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/apm/xgene/xgene_enet_main.c