]> 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)
commit861420ec09863dc2b2986bc65feeabbee621c728
treecd564b80fba2f5ab470bf760fc01c9be75fbb63f
parent1ff3cb48989af5c11209a3b383b9160dd178a837
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