diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-10-16 16:31:35 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-18 11:02:52 +0300 |
commit | f7572e93d5f6bc4f659d2a9b603574cd126482d8 (patch) | |
tree | 8c98b5169cfed95386a093e1968b206d22c44c16 /drivers/iio/pressure | |
parent | b8cb855d1b2ee6669e46c54a132024bd1dd0dcbb (diff) | |
download | linux-f7572e93d5f6bc4f659d2a9b603574cd126482d8.tar.xz |
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>
Diffstat (limited to 'drivers/iio/pressure')
0 files changed, 0 insertions, 0 deletions