diff options
| author | Sang-Heon Jeon <ekffu200098@gmail.com> | 2026-08-31 14:21:07 +0900 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-09-01 06:33:17 -0400 |
| commit | 2f02eee8d632f768824c269cdf05c324e56e4d70 (patch) | |
| tree | f229fdded0c86fb40b51be21af6dfcc87654a088 /tools/lib/python | |
| parent | 9951bf4c44c6427f749b4d10dc775c51329296b2 (diff) | |
RDMA/mana_ib: Remove redundant NULL check before netdev_put()
netdev_put() does nothing if dev is NULL, so the check before the call
is redundant.
So remove it. No functional change.
This is the result of running the Coccinelle script from
scripts/coccinelle/free/ifnulldev_put.cocci after commit f83b8a58695c
("coccinelle: ifnulldev_put: update outdated helper names").
Signed-off-by: Sang-Heon Jeon <ekffu200098@gmail.com>
Link: https://patch.msgid.link/20260831052108.903019-1-ekffu200098@gmail.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
