Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 873343e7 authored by Yunsheng Lin's avatar Yunsheng Lin Committed by David S. Miller
Browse files

page_pool: remove unnecessary variable init



Remove variable initializations in functions that
are followed by assignments before use

Signed-off-by: default avatarYunsheng Lin <linyunsheng@huawei.com>
Acked-by: default avatarJesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b6cef26f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@ static int page_pool_init(struct page_pool *pool,
struct page_pool *page_pool_create(const struct page_pool_params *params)
{
	struct page_pool *pool;
	int err = 0;
	int err;

	pool = kzalloc_node(sizeof(*pool), GFP_KERNEL, params->nid);
	if (!pool)