[PATCH 0/5] [media] winbond-cir: Fine-tuning for four function implementations

From: SF Markus Elfring
Date: Fri Oct 14 2016 - 07:40:36 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 14 Oct 2016 13:24:35 +0200

A few update suggestions were taken into account
from static source code analysis.

Markus Elfring (5):
Use kmalloc_array() in wbcir_tx()
Move a variable assignment in wbcir_tx()
Move assignments for three variables in wbcir_shutdown()
One variable and its check less in wbcir_shutdown() after error detection
Move a variable assignment in two functions

drivers/media/rc/winbond-cir.c | 95 +++++++++++++++++++-----------------------
1 file changed, 44 insertions(+), 51 deletions(-)

--
2.10.1