[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1405791282-28023-3-git-send-email-clabbe.montjoie@gmail.com>
Date: Sat, 19 Jul 2014 19:34:40 +0200
From: LABBE Corentin <clabbe.montjoie@...il.com>
To: gregkh@...uxfoundation.org, monamagarwal123@...il.com,
paul.gortmaker@...driver.com, jg1.han@...sung.com,
paulmck@...ux.vnet.ibm.com, valentina.manea.m@...il.com,
jack@...e.cz
Cc: devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
LABBE Corentin <clabbe.montjoie@...il.com>
Subject: [PATCH 2/4] staging: sep: No else is necessary after a break (reported by checkpatch)
Signed-off-by: LABBE Corentin <clabbe.montjoie@...il.com>
---
drivers/staging/sep/sep_main.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/sep/sep_main.c b/drivers/staging/sep/sep_main.c
index 177e4b9..1580d95f 100644
--- a/drivers/staging/sep/sep_main.c
+++ b/drivers/staging/sep/sep_main.c
@@ -2881,12 +2881,11 @@ static int sep_free_dma_tables_and_dcb(struct sep_device *sep, bool isapplet,
if (is_kva) {
error = -ENODEV;
break;
- } else {
- error_temp = copy_to_user(
+ }
+ error_temp = copy_to_user(
(void __user *)tail_pt,
dcb_table_ptr->tail_data,
dcb_table_ptr->tail_data_size);
- }
if (error_temp) {
/* Release the DMA resource */
error = -EFAULT;
--
1.8.5.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists