diff options
author | Ruan Jinjie <ruanjinjie@huawei.com> | 2023-08-04 17:32:50 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-08-04 14:48:55 +0200 |
commit | f87ba66a2a1b2e1dc1c4ece51fa5db93c9cf1d43 (patch) | |
tree | 908ddbd4c996bcfdb81bc8578f678ffeab01139f /drivers/sbus | |
parent | 3024faf74de7ed7c0f6dc29bced4dbdbd2a1eade (diff) | |
download | linux-stable-f87ba66a2a1b2e1dc1c4ece51fa5db93c9cf1d43.tar.gz linux-stable-f87ba66a2a1b2e1dc1c4ece51fa5db93c9cf1d43.tar.bz2 linux-stable-f87ba66a2a1b2e1dc1c4ece51fa5db93c9cf1d43.zip |
USB: misc: Remove unnecessary NULL values
The NULL initialization of the pointers assigned by kzalloc() first is
not necessary, because if the kzalloc() failed, the pointers will be
assigned NULL, otherwise it works as usual. so remove it.
Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
Link: https://lore.kernel.org/r/20230804093253.91647-3-ruanjinjie@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/sbus')
0 files changed, 0 insertions, 0 deletions