staging: dgrp: remove redundant NULL check before unregister_dgrp_device().
authorCyril Roelandt <tipecaml@gmail.com>
Tue, 12 Feb 2013 04:01:51 +0000 (05:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Feb 2013 16:46:48 +0000 (08:46 -0800)
unregister_dgrp_device on a NULL pointer is a no-op, so the NULL checks in
dgrp_remove_nd() can be removed.

Signed-off-by: Cyril Roelandt <tipecaml@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found