summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorZiyang Xuan <william.xuanziyang@huawei.com>2022-06-16 12:52:59 +0800
committerTony Nguyen <anthony.l.nguyen@intel.com>2022-06-30 13:53:33 -0700
commitafa646299a282c5e621242c2db8c95c0ccb57d0e (patch)
treedde1c83196ee8170f5f16b94b29927823186e219 /scripts/gdb/linux/modules.py
parent0ca85829903f1d4849f2fb463d86ea04d679c98f (diff)
ice: Remove unnecessary NULL check before dev_put
Since commit b37a46683739 ("netdevice: add the case if dev is NULL"), dev_put(NULL) is safe, check NULL before dev_put() is not needed. Signed-off-by: Ziyang Xuan <william.xuanziyang@huawei.com> Tested-by: Gurucharan <gurucharanx.g@intel.com> (A Contingent worker at Intel) Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions