mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
page_pool: remove unnecessary variable init
Remove variable initializations in functions that are followed by assignments before use Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> Acked-by: Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b6cef26fb9
commit
873343e7d4
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue