Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e46945ce authored by Fabian Holler's avatar Fabian Holler Committed by Greg Kroah-Hartman
Browse files

staging: android: remove blank lines after open braces



This patch fixes the following checkpatch.pl warnings:
	ashmem.c:552: CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
	ashmem.c:801: CHECK:BRACES: Blank lines aren't necessary after an open brace

Signed-off-by: default avatarFabian Holler <fabian.holler@profitbricks.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 002397c4
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -549,7 +549,6 @@ static int get_name(struct ashmem_area *asma, void __user *name)

	mutex_lock(&ashmem_mutex);
	if (asma->name[ASHMEM_NAME_PREFIX_LEN] != '\0') {

		/*
		 * Copying only `len', instead of ASHMEM_NAME_LEN, bytes
		 * prevents us from revealing one user's stack to another.
@@ -798,7 +797,6 @@ static long ashmem_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
static long compat_ashmem_ioctl(struct file *file, unsigned int cmd,
				unsigned long arg)
{

	switch (cmd) {
	case COMPAT_ASHMEM_SET_SIZE:
		cmd = ASHMEM_SET_SIZE;