From mboxrd@z Thu Jan 1 00:00:00 1970 From: SF Markus Elfring Date: Sun, 21 Aug 2016 07:14:04 +0000 Subject: [PATCH 0/7] aacraid: Fine-tuning for a few functions Message-Id: <40d8607f-3934-c31f-3791-ef6a67d65d45@users.sourceforge.net> List-Id: References: <566ABCD9.1060404@users.sourceforge.net> In-Reply-To: <566ABCD9.1060404@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-scsi@vger.kernel.org, aacraid@microsemi.com, "James E. J. Bottomley" , "Martin K. Petersen" Cc: LKML , kernel-janitors@vger.kernel.org, Julia Lawall From: Markus Elfring Date: Sun, 21 Aug 2016 09:03:21 +0200 Several update suggestions were taken into account from static source code analysis. Markus Elfring (7): Use memdup_user() rather than duplicating its implementation One function call less in aac_send_raw_srb() after error detection Delete unnecessary initialisations in aac_send_raw_srb() Delete unnecessary braces Add spaces after control flow keywords Improve determination of a few sizes Apply another recommendation from "checkpatch.pl" drivers/scsi/aacraid/commctrl.c | 140 +++++++++++++++++++--------------------- 1 file changed, 67 insertions(+), 73 deletions(-) -- 2.9.3