serial: pic32: don't zero members of kzalloc-ated structure
authorJiri Slaby <jslaby@suse.cz>
Tue, 3 May 2022 06:31:20 +0000 (08:31 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 May 2022 20:39:19 +0000 (22:39 +0200)
commit28dc563339b181461494918d5d155e3ebc9a87ec
tree150905353f3b6d3aff552f004f9146a19cc6093b
parent0ed55be47c99cb156f96ad95649760d474d9c56c
serial: pic32: don't zero members of kzalloc-ated structure

struct pic32_sport (sport) has just been kzallocated. So there is no
need to zero its member (sport->port) now.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220503063122.20957-10-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/pic32_uart.c