[S390] qdio: prevent handling of buffers if count is zero
authorJan Glauber <jang@linux.vnet.ibm.com>
Wed, 23 Mar 2011 09:16:01 +0000 (10:16 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Wed, 23 Mar 2011 09:15:59 +0000 (10:15 +0100)
commit9a26513eb67ec4b2cb1744834076afad21b68aac
tree20062d931215ca303a6f601e32c8d21db73a80ee
parent4cc69531f91dfa1668af5e9d8efe9e3bc7b64548
[S390] qdio: prevent handling of buffers if count is zero

Exit do_QDIO early if the buffer count is zero to prevent side effects
in the following functions.

Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/qdio_main.c