OSDN Git Service

virtio: console: remove unnecessary null test before debugfs_remove_recursive
authorFabian Frederick <fabf@skynet.be>
Sat, 26 Jul 2014 22:00:01 +0000 (07:30 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Sun, 27 Jul 2014 11:37:14 +0000 (21:07 +0930)
commit5885e48e4412e75be5495fe889cec6762b165197
tree87dec5854c05fa21f780f0eec16b1138ed36fdfc
parent15ba2236f3556fc01b9ca91394465152b5ea74b6
virtio: console: remove unnecessary null test before debugfs_remove_recursive

Fix checkpatch warning:
WARNING: debugfs_remove_recursive(NULL) is safe this check is probably not required

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: virtualization@lists.linux-foundation.org
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/char/virtio_console.c