Re: [Qemu-devel] [PATCH 1/2] hw/char: remove console_exit function in sclp

2017-04-24 Thread Cornelia Huck
On Thu, 20 Apr 2017 02:21:29 +0800 Zihan Yang wrote: > Currently, the console_exit function in sclpconsole-lm.c and > sclpconsole.c does nothing, just remove them. Since there is > a NULL check on the DeviceClass exit callback as suggested by > Frederic Konrad, it should be safe t

[Qemu-devel] [PATCH 1/2] hw/char: remove console_exit function in sclp

2017-04-19 Thread Zihan Yang
Currently, the console_exit function in sclpconsole-lm.c and sclpconsole.c does nothing, just remove them. Since there is a NULL check on the DeviceClass exit callback as suggested by Frederic Konrad, it should be safe to simply remove them. Signed-off-by: Zihan Yang --- hw/char/