[PATCH 0/6] HID-Prodikeys: Adjustments for two function implementations

From: SF Markus Elfring
Date: Sat Feb 03 2018 - 12:37:27 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 3 Feb 2018 18:21:23 +0100

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

Markus Elfring (6):
Delete two error messages for a failed memory allocation in pk_probe()
Delete an unnecessary variable initialisation in pk_probe()
Move an assignment in pk_probe()
Delete an unnecessary return statement in pcmidi_send_note()
Combine two condition checks into one statement in pcmidi_send_note()
Rename a jump label in pcmidi_send_note()

drivers/hid/hid-prodikeys.c | 21 +++++++--------------
1 file changed, 7 insertions(+), 14 deletions(-)

--
2.16.1