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:
LABBE Corentin 2014-07-19 19:34:40 +02:00 committed by Greg Kroah-Hartman
parent cca48e3ce4
commit ba5a40d664
1 changed files with 2 additions and 3 deletions

View File

@ -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;