staging: sep: No else is necessary after a break (reported by checkpatch)
Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
cca48e3ce4
commit
ba5a40d664
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue