summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Holler <fabian.holler@profitbricks.com>2015-01-07 09:39:53 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-01-18 00:20:20 (GMT)
commite46945ceacc286f7526382bfe8f9e5292a4a2ee1 (patch)
tree6922f4d33193cdbf3a992e9e651676c36ab98ce9
parent002397c4c72d5082a10a4a81946966b5bb3a200f (diff)
downloadlinux-e46945ceacc286f7526382bfe8f9e5292a4a2ee1.tar.xz
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: Fabian Holler <fabian.holler@profitbricks.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/android/ashmem.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/android/ashmem.c b/drivers/staging/android/ashmem.c
index 181a71e..6b228d9 100644
--- a/drivers/staging/android/ashmem.c
+++ b/drivers/staging/android/ashmem.c
@@ -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;