Commit da1c396a authored by Andra Paraschiv's avatar Andra Paraschiv Committed by Greg Kroah-Hartman
Browse files

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: default avatarGeorge-Aurelian Popescu <popegeo@amazon.com>
Signed-off-by: default avatarAndra Paraschiv <andraprs@amazon.com>
Link: https://lore.kernel.org/r/20210827154930.40608-8-andraprs@amazon.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 059ebe4f
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -185,7 +185,6 @@ static int ne_create_vm(int ne_dev_fd, unsigned long *slot_uid, int *enclave_fd)
	return 0;
}


/**
 * ne_poll_enclave_fd() - Thread function for polling the enclave fd.
 * @data:	Argument provided for the polling function.
@@ -560,8 +559,8 @@ static int ne_add_vcpu(int enclave_fd, unsigned int *vcpu_id)

		default:
			printf("Error in add vcpu [%m]\n");

		}

		return rc;
	}