Skip to content
Snippets Groups Projects
Commit b37a4668 authored by Yajun Deng's avatar Yajun Deng Committed by David S. Miller
Browse files

netdevice: add the case if dev is NULL


Add the case if dev is NULL in dev_{put, hold}, so the caller doesn't
need to care whether dev is NULL or not.

Signed-off-by: default avatarYajun Deng <yajun.deng@linux.dev>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1160dfa1
No related branches found
No related tags found
No related merge requests found
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