diff options
| author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2024-08-09 16:54:04 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2024-08-15 18:56:14 -0700 |
| commit | ecdae5168460f7260c0f8dad069aa06f9ba0706e (patch) | |
| tree | b8cb471d64a0c7bb6f0768c768b3473eca7ed590 /tools/perf/scripts/python | |
| parent | ipv4: Set ifa->ifa_dev in inet_alloc_ifa(). (diff) | |
| download | linux-ecdae5168460f7260c0f8dad069aa06f9ba0706e.tar.gz linux-ecdae5168460f7260c0f8dad069aa06f9ba0706e.zip | |
ipv4: Remove redundant !ifa->ifa_dev check.
Now, ifa_dev is only set in inet_alloc_ifa() and never
NULL after ifa gets visible.
Let's remove the unneeded NULL check for ifa->ifa_dev.
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20240809235406.50187-4-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
