summaryrefslogtreecommitdiff
path: root/drivers/vhost/test.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2013-04-12 21:54:43 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-05-02 01:29:45 +0400
commit4c23782091dc98221dc149e844ab128771a78ea2 (patch)
tree063773d08b7e44712f0c36d482769398f74ef47c /drivers/vhost/test.h
parente8eeded3c5226fe420f9c6733cf5ada2faa3087a (diff)
downloadlinux-4c23782091dc98221dc149e844ab128771a78ea2.tar.xz
ppc: Clean up scanlog
Clean up the pseries scanlog driver's use of procfs: (1) Don't need to save the proc_dir_entry pointer as we have the filename to remove with. (2) Save the scan log buffer pointer in a static variable (there is only one of it) and don't save it in the PDE (which doesn't have a destructor). Signed-off-by: David Howells <dhowells@redhat.com> cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> cc: Paul Mackerras <paulus@samba.org> cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/vhost/test.h')
0 files changed, 0 insertions, 0 deletions