diff options
| author | zhong jiang <zhongjiang@huawei.com> | 2018-09-16 21:45:02 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-09-17 08:20:11 -0700 |
| commit | b458925ed5797a20f22cdf005625e25106cf7124 (patch) | |
| tree | e0e767319c6f70772521398dac38a0aa3aaf6464 /scripts/gdb/linux/tasks.py | |
| parent | 1ddc5d3e5f1cf9ac8a6aad00b95a7a022e634ef4 (diff) | |
net: dsa: remove redundant null pointer check before put_device
put_device has taken the null pinter check into account. So it is
safe to remove the duplicated check before put_device.
Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions
