parport: Drop even more unneeded NULL or 0 assignments
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 18 Oct 2023 14:59:48 +0000 (17:59 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Oct 2023 21:04:23 +0000 (23:04 +0200)
commit421359cbdbdcaea93b83e1e6b61eb261b75b1998
treed5fb629641010cd05708c8d5c6dcffc745d0efc0
parent12280cc708f28357e7ad85bab2bcc3715e59a8f7
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 <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20231018145948.1367648-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/parport/share.c