aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/chp.c
diff options
context:
space:
mode:
authorMichael Ernst <mernst@de.ibm.com>2008-07-14 03:59:22 -0400
committerHeiko Carstens <heiko.carstens@de.ibm.com>2008-07-14 04:02:18 -0400
commitc78aa6cbace460081ddc6227f02b6d3203a21585 (patch)
treeca4847b11a5a80e9e6794c46338a7df2bafba909 /drivers/s390/cio/chp.c
parent23d1742179170b69e61ac9166248ffd64857e55a (diff)
[S390] Cleanup cio printk messages.
Unnecessary dev_info, dev_warn and printk messages are removed. Signed-off-by: Michael Ernst <mernst@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/chp.c')
-rw-r--r--drivers/s390/cio/chp.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/s390/cio/chp.c b/drivers/s390/cio/chp.c
index d58dc9f15b72..db00b0591733 100644
--- a/drivers/s390/cio/chp.c
+++ b/drivers/s390/cio/chp.c
@@ -123,11 +123,8 @@ static int s390_vary_chpid(struct chp_id chpid, int on)
123 CIO_TRACE_EVENT(2, dbf_text); 123 CIO_TRACE_EVENT(2, dbf_text);
124 124
125 status = chp_get_status(chpid); 125 status = chp_get_status(chpid);
126 if (!on && !status) { 126 if (!on && !status)
127 printk(KERN_ERR "cio: chpid %x.%02x is already offline\n", 127 return 0;
128 chpid.cssid, chpid.id);
129 return -EINVAL;
130 }
131 128
132 set_chp_logically_online(chpid, on); 129 set_chp_logically_online(chpid, on);
133 chsc_chp_vary(chpid, on); 130 chsc_chp_vary(chpid, on);