lkml.org 
[lkml]   [2014]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] fs: proc: use seq_open_private()
Date
Use __seq_open_private() to reduce boilerplate code in proc.

This function has been around, undocumented, for years. It can simplify
the set up code for seq file operations.

Signed-off-by: Rob Jones <rob.jones@codethink.co.uk>


Rob Jones (2):
fs: proc: use __seq_open_private()
fs: proc: use __seq_open_private()

fs/proc/task_mmu.c | 42 ++++++++++++++++--------------------------
fs/proc/task_nommu.c | 22 ++++++++--------------
2 files changed, 24 insertions(+), 40 deletions(-)

--
1.7.10.4



\
 
 \ /
  Last update: 2014-09-12 17:01    [W:0.048 / U:1.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site