[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200429152307.5871-1-oscar.carter@gmx.com>
Date: Wed, 29 Apr 2020 17:23:05 +0200
From: Oscar Carter <oscar.carter@....com>
To: Forest Bond <forest@...ttletooquiet.net>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Oscar Carter <oscar.carter@....com>,
Malcolm Priestley <tvboxspy@...il.com>,
Quentin Deslandes <quentin.deslandes@...ev.co.uk>,
"John B. Wyatt IV" <jbwyatt4@...il.com>,
Colin Ian King <colin.king@...onical.com>,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] staging: vt6656: Refactor the vnt_set_bss_mode function
This patch series refactors the vnt_set_bss_mode function through two
patches.
The first one checks the return value of all the functions that return
zero if successful or a negative error code on failure.
The second patch removes all the duplicate code in the "if, else if, else"
statements as all the branches in every "if" are almost the same.
Oscar Carter (2):
staging: vt6656: Check the return values in vnt_set_bss_mode function
staging: vt6656: Refactor the vnt_set_bss_mode function
drivers/staging/vt6656/card.c | 77 ++++++++++++++++++-----------------
1 file changed, 39 insertions(+), 38 deletions(-)
--
2.20.1
Powered by blists - more mailing lists