nitro_enclaves: Add fixes for checkpatch blank line reports

Remove blank lines that are not necessary, fixing the checkpatch script
reports. While at it, add a blank line after the switch default block,
similar to the other parts of the codebase.

Reviewed-by: George-Aurelian Popescu <popegeo@amazon.com>
Signed-off-by: Andra Paraschiv <andraprs@amazon.com>
Link: https://lore.kernel.org/r/20210827154930.40608-8-andraprs@amazon.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Andra Paraschiv 2021-08-27 18:49:30 +03:00 committed by Greg Kroah-Hartman
parent 059ebe4fe3
commit da1c396a81
1 changed files with 1 additions and 2 deletions

View File

@ -185,7 +185,6 @@ static int ne_create_vm(int ne_dev_fd, unsigned long *slot_uid, int *enclave_fd)
return 0; return 0;
} }
/** /**
* ne_poll_enclave_fd() - Thread function for polling the enclave fd. * ne_poll_enclave_fd() - Thread function for polling the enclave fd.
* @data: Argument provided for the polling function. * @data: Argument provided for the polling function.
@ -560,8 +559,8 @@ static int ne_add_vcpu(int enclave_fd, unsigned int *vcpu_id)
default: default:
printf("Error in add vcpu [%m]\n"); printf("Error in add vcpu [%m]\n");
} }
return rc; return rc;
} }