OSDN Git Service

virtio: console: cleanup an error message
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 30 Jul 2013 06:24:07 +0000 (15:54 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 30 Jul 2013 06:24:30 +0000 (15:54 +0930)
commit3f0d0c9b47e09d47fcb755fed786a1ee88e110b5
treec79234c6ecb35fe39e3ac20d12941515b29c543d
parent314081f1025e9ea77b69261f21183e9be18a6f91
virtio: console: cleanup an error message

The PTR_ERR(NULL) here is not useful.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/char/virtio_console.c