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

Commit 400d8291 authored by Heiko Carstens's avatar Heiko Carstens Committed by Martin Schwidefsky
Browse files

[S390] qdio: fix qdio_allocate_aob() declaration



drivers/s390/cio/qdio_setup.c:24:32:
  warning: non-ANSI function declaration of function 'qdio_allocate_aob'

While at it also simplify the function.

Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 83a24e32
Loading
Loading
Loading
Loading
+2 −5
Original line number Original line Diff line number Diff line
@@ -22,12 +22,9 @@
static struct kmem_cache *qdio_q_cache;
static struct kmem_cache *qdio_q_cache;
static struct kmem_cache *qdio_aob_cache;
static struct kmem_cache *qdio_aob_cache;


struct qaob *qdio_allocate_aob()
struct qaob *qdio_allocate_aob(void)
{
{
	struct qaob *aob;
	return kmem_cache_zalloc(qdio_aob_cache, GFP_ATOMIC);

	aob = kmem_cache_zalloc(qdio_aob_cache, GFP_ATOMIC);
	return aob;
}
}
EXPORT_SYMBOL_GPL(qdio_allocate_aob);
EXPORT_SYMBOL_GPL(qdio_allocate_aob);