From 076f382f795fe9e2377e90e134659d8ffbc4cdb8 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 13 Dec 2015 06:48:30 -0600 Subject: [PATCH] Module: Remove some unused members of a structure --- configs | 2 +- sched/module/mod_procfs.c | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/configs b/configs index 4a56b7ba643..2d03a7241ae 160000 --- a/configs +++ b/configs @@ -1 +1 @@ -Subproject commit 4a56b7ba643607bbfadaef3628a7322b642ffa3f +Subproject commit 2d03a7241ae1347d12f69005c3fc3d98c52fffbf diff --git a/sched/module/mod_procfs.c b/sched/module/mod_procfs.c index b430bc8fe03..411cb1eccde 100644 --- a/sched/module/mod_procfs.c +++ b/sched/module/mod_procfs.c @@ -87,12 +87,7 @@ struct modprocfs_file_s size_t remaining; /* Space remaining in user buffer */ size_t totalsize; /* Total size returned by read() */ off_t offset; /* Offset skip on output */ - - /* Line buffer */ - - uint8_t lineno; /* Line number */ - uint8_t linesize; /* Number of valid characters in line[] */ - char line[MOD_LINELEN]; /* Pre-allocated buffer for formatted lines */ + char line[MOD_LINELEN]; /* Buffer for line formatting */ }; /****************************************************************************