projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cca48e3
)
staging: sep: No else is necessary after a break (reported by checkpatch)
author
LABBE Corentin
<
[email protected]
>
Sat, 19 Jul 2014 17:34:40 +0000
(19:34 +0200)
committer
Greg Kroah-Hartman
<
[email protected]
>
Mon, 21 Jul 2014 19:19:23 +0000
(12:19 -0700)
Signed-off-by: LABBE Corentin <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/sep/sep_main.c
patch
|
blob
|
history
diff --git
a/drivers/staging/sep/sep_main.c
b/drivers/staging/sep/sep_main.c
index 75ca15e86a27ac210ec7838844b9c968a8f7d9c2..5188897e92677d01fbbecf9f36336b6638ac0db0 100644
(file)
--- a/
drivers/staging/sep/sep_main.c
+++ b/
drivers/staging/sep/sep_main.c
@@
-2880,12
+2880,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;