diff options
author | Zhen Lei <[email protected]> | 2023-08-05 16:41:14 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-08-19 19:37:53 +0200 |
commit | 1b28cb81dab7c1eedc6034206f4e8d644046ad31 (patch) | |
tree | 513a27592a928e3da71b31c9e0ab1a467ddf5431 /scripts/generate_rust_analyzer.py | |
parent | 4d0fe8c52bb3029d83e323c961221156ab98680b (diff) |
kobject: Remove redundant checks for whether ktype is NULL
When adding koject or kset, we have made sure that ktype cannot be NULL.
Therefore, after adding koject or kset, there is no need to worry about
ktype being NULL. Clear all ktype-related redundancy checks.
Signed-off-by: Zhen Lei <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions