lkml.org 
[lkml]   [2018]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/6] HID-Prodikeys: Adjustments for two function implementations
Date
From: Markus Elfring <elfring@users.sourceforge.net>
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

\
 
 \ /
  Last update: 2018-02-03 18:38    [W:0.035 / U:3.704 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site