aboutsummaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorYajun Deng <yajun.deng@linux.dev>2021-08-05 19:54:34 +0800
committerDavid S. Miller <davem@davemloft.net>2021-08-05 13:29:26 +0100
commitb37a466837393af72fe8bcb8f1436410f3f173f3 (patch)
treeb3a7d2adfc7315c7e4c5e688c7cdbb5f56991745 /.gitignore
parentnet: Remove redundant if statements (diff)
downloadlinux-dev-b37a466837393af72fe8bcb8f1436410f3f173f3.tar.xz
linux-dev-b37a466837393af72fe8bcb8f1436410f3f173f3.zip
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: Yajun Deng <yajun.deng@linux.dev> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions