diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2011-12-27 05:27:10 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2011-12-27 05:27:10 -0500 |
commit | 400d829153aea9487654f588d4d06e8beb8b251f (patch) | |
tree | 57f57ae9687e819557cef5ab225c334150efa084 /drivers/s390 | |
parent | 83a24e32908476c33ea9abc132c73020e2cd3620 (diff) |
[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: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/cio/qdio_setup.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/s390/cio/qdio_setup.c b/drivers/s390/cio/qdio_setup.c index 2acc01f90a6a..74bb1a088261 100644 --- a/drivers/s390/cio/qdio_setup.c +++ b/drivers/s390/cio/qdio_setup.c | |||
@@ -22,12 +22,9 @@ | |||
22 | static struct kmem_cache *qdio_q_cache; | 22 | static struct kmem_cache *qdio_q_cache; |
23 | static struct kmem_cache *qdio_aob_cache; | 23 | static struct kmem_cache *qdio_aob_cache; |
24 | 24 | ||
25 | struct qaob *qdio_allocate_aob() | 25 | struct qaob *qdio_allocate_aob(void) |
26 | { | 26 | { |
27 | struct qaob *aob; | 27 | return kmem_cache_zalloc(qdio_aob_cache, GFP_ATOMIC); |
28 | |||
29 | aob = kmem_cache_zalloc(qdio_aob_cache, GFP_ATOMIC); | ||
30 | return aob; | ||
31 | } | 28 | } |
32 | EXPORT_SYMBOL_GPL(qdio_allocate_aob); | 29 | EXPORT_SYMBOL_GPL(qdio_allocate_aob); |
33 | 30 | ||