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

Skip to content
Commit 851bdd11 authored by xiao jin's avatar xiao jin Committed by David S. Miller
Browse files

inetpeer_gc_worker: trivial cleanup



Do not initialize list twice.
list_replace_init() already takes care of initializing list.
We don't need to initialize it with LIST_HEAD() beforehand.

Signed-off-by: default avatarxiao jin <jin.xiao@intel.com>
Reviewed-by: default avatarDavid Cohen <david.a.cohen@linux.intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1818ce4d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment