From: LABBE Corentin Date: Sat, 19 Jul 2014 17:34:40 +0000 (+0200) Subject: staging: sep: No else is necessary after a break (reported by checkpatch) X-Git-Tag: v4.9.8~5976^2~400 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ba5a40d66422fbf9689a98c08a205200a1b47ac3;p=platform%2Fkernel%2Flinux-rpi3.git staging: sep: No else is necessary after a break (reported by checkpatch) Signed-off-by: LABBE Corentin Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/sep/sep_main.c b/drivers/staging/sep/sep_main.c index 75ca15e..5188897 100644 --- 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;