Commit f7572e9
parport: Drop 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.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20231016133135.1203643-4-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent b8cb855 commit f7572e9
1 file changed
Lines changed: 0 additions & 4 deletions
File tree
- drivers/parport
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
449 | 449 | | |
450 | 450 | | |
451 | 451 | | |
452 | | - | |
453 | 452 | | |
454 | | - | |
455 | | - | |
456 | 453 | | |
457 | 454 | | |
458 | | - | |
459 | 455 | | |
460 | 456 | | |
461 | 457 | | |
| |||
0 commit comments