diff options
author | Andy Shevchenko <[email protected]> | 2023-10-18 17:59:48 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-10-21 23:04:23 +0200 |
commit | 421359cbdbdcaea93b83e1e6b61eb261b75b1998 (patch) | |
tree | d5fb629641010cd05708c8d5c6dcffc745d0efc0 /scripts/generate_rust_analyzer.py | |
parent | 12280cc708f28357e7ad85bab2bcc3715e59a8f7 (diff) |
parport: Drop even more unneeded NULL or 0 assignments
kzalloc() gives us a zeroed memory, no need to explicitly assing 0 or
NULL or similar to the members of the data structure that has been
allocated with the above mentioned API.
Note, the initializstion of full_list member is not needed anymore
as list_add_tail will rewrite the contents of the prev and next
pointers.
Signed-off-by: Andy Shevchenko <[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