Commit ba5a40d6 authored by LABBE Corentin's avatar LABBE Corentin Committed by Greg Kroah-Hartman

staging: sep: No else is necessary after a break (reported by checkpatch)

Signed-off-by: default avatarLABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cca48e3c
...@@ -2880,12 +2880,11 @@ static int sep_free_dma_tables_and_dcb(struct sep_device *sep, bool isapplet, ...@@ -2880,12 +2880,11 @@ static int sep_free_dma_tables_and_dcb(struct sep_device *sep, bool isapplet,
if (is_kva) { if (is_kva) {
error = -ENODEV; error = -ENODEV;
break; break;
} else { }
error_temp = copy_to_user( error_temp = copy_to_user(
(void __user *)tail_pt, (void __user *)tail_pt,
dcb_table_ptr->tail_data, dcb_table_ptr->tail_data,
dcb_table_ptr->tail_data_size); dcb_table_ptr->tail_data_size);
}
if (error_temp) { if (error_temp) {
/* Release the DMA resource */ /* Release the DMA resource */
error = -EFAULT; error = -EFAULT;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment