]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb3f39a2eb13509331c127700b7cc662f2b807e3c
treecd564b80fba2f5ab470bf760fc01c9be75fbb63f
parent326bc7ea13b1cd022dc121c5c0174b58242d8b81
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