]> git.baikalelectronics.ru Git - kernel.git/commit
virtio: console: remove_port() should return void
authorAmit Shah <amit.shah@redhat.com>
Thu, 2 Sep 2010 12:41:47 +0000 (18:11 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 21 Oct 2010 07:14:02 +0000 (17:44 +1030)
commit38c33e269f86eefb3e2bb4b346c25b630dd3b41e
treef140719154ca00c80a6bc27f28fda37efe85f2d3
parentf7e0adb68ffad930ec379ea735baecec1752c9a5
virtio: console: remove_port() should return void

When a port is removed, we have to assume the port is gone. So a
success/failure return value doesn't make sense.

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