staging: slicoss: remove gratuitous debug infrastructure
authorDavid Matlack <dmatlack@google.com>
Tue, 6 May 2014 04:02:34 +0000 (21:02 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 11:08:33 +0000 (20:08 +0900)
commit04cc3c8a8013ea966e4623e0f20ba49529eac2ab
treecd564b80fba2f5ab470bf760fc01c9be75fbb63f
parent563dce372fac66674c18a66777f0a01343a8e373
staging: slicoss: remove gratuitous debug infrastructure

As per the TODO file, this patch removes the gratuitous debug
infrastructure. As an extra incentive for removing this code,
the debugfs files are not cleaned up properly. For example, if
register_netdev() fails in slic_entry_probe() then all debugfs
files get left behind, even after the driver module is unloaded.
Touching these files quickly leads to an oops.

Signed-off-by: David Matlack <dmatlack@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/slicoss/TODO
drivers/staging/slicoss/slic.h
drivers/staging/slicoss/slicoss.c