[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1588512552-12297-1-git-send-email-mdujava@kocurkovo.cz>
Date: Sun, 3 May 2020 15:29:07 +0200
From: Matej Dujava <mdujava@...urkovo.cz>
To: Forest Bond <forest@...ttletooquiet.net>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Cc: Stefano Brivio <sbrivio@...hat.com>,
Briana Oursler <briana.oursler@...il.com>,
"Frank A. Cancio Bello" <frank@...eralsoftwareinc.com>,
Matej Dujava <mdujava@...urkovo.cz>
Subject: [PATCH 0/5] Cleaning s_uGetDataDuration function
This patch set will eliminate few checkpatch LONG_LINE errors.
Simplify code paths by:
- returning at the end of case body
- removing unnecessary else branches
Matej Dujava (5):
staging: vt6655: merge two switch cases in s_uGetDataDuration
staging: vt6655: do calculation of uAckTime first
staging: vt6655: remove else after return and invert condition
staging: vt6655: return at the ond of case body
staging: vt6655: extract index manupulation out of function call
drivers/staging/vt6655/rxtx.c | 140 ++++++++++++----------------------
1 file changed, 48 insertions(+), 92 deletions(-)
--
2.26.2
Powered by blists - more mailing lists