staging: qlge: qlge_ethtool: Remove one byte memset.
authorSuraj Upadhyay <usuraj35@gmail.com>
Mon, 13 Jul 2020 12:22:22 +0000 (17:52 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Jul 2020 13:37:47 +0000 (15:37 +0200)
commitcaaba08f8c0dbe5c8fcb497faa7e3b394c21ff39
tree18660a3b2e1ea3e70466d3fb0d92219a1cfb0b0e
parent45170f100a8d2a96a3569519f5968144e6542940
staging: qlge: qlge_ethtool: Remove one byte memset.

Use direct assignment instead of using memset with just one byte as an
argument.
Issue found by checkpatch.pl.

Signed-off-by: Suraj Upadhyay <usuraj35@gmail.com>
Link: https://lore.kernel.org/r/b5eb87576cef4bf1b968481d6341013e6c7e9650.1594642213.git.usuraj35@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/qlge/qlge_ethtool.c