Skip to contentSkip to conversation

MPT: remove unused struct -- mpt_proc_entry_t

PATCH In review [email protected] 2 participants 2 messages Feb 11, 2009 – Feb 12, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 3/11 MPT: remove unused struct -- mpt_proc_entry_t

From: Alexey Dobriyan <[email protected]>

Cc "Moore, Eric Dean" <[email protected]>
Cc James Bottomley <[email protected]>

---

 drivers/message/fusion/mptbase.h |   11 -----------
 1 file changed, 11 deletions(-)
drivers/message/fusion/mptbase.h renamed from drivers/message/fusion/mptbase.h~mpt-remove-unused-struct-mpt_proc_entry_t +0 -11
diff -puN drivers/message/fusion/mptbase.h~mpt-remove-unused-struct-mpt_proc_entry_t drivers/message/fusion/mptbase.h
@@ -402,17 +402,6 @@ typedef struct _VirtDevice {
 #define MPT_TARGET_FLAGS_RAID_COMPONENT	0x40
 #define MPT_TARGET_FLAGS_LED_ON		0x80
 
-/*
- *	/proc/mpt interface
- */
-typedef struct {
-	const char	*name;
-	mode_t		 mode;
-	int		 pad;
-	read_proc_t	*read_proc;
-	write_proc_t	*write_proc;
-} mpt_proc_entry_t;
-
 #define MPT_PROC_READ_RETURN(buf,start,offset,request,eof,len) \
 do { \
 	len -= offset;			\

_

#1 lore raw
Quoted 6 lines · On Wed, Feb 11, 2009 at 01:29:32PM -0800, [email protected] wrote:
drivers/message/fusion/mptbase.h renamed from drivers/message/fusion/mptbase.h~mpt-remove-unused-struct-mpt_proc_entry_t +0 -0
@@ -402,17 +402,6 @@ typedef struct _VirtDevice {
 #define MPT_TARGET_FLAGS_RAID_COMPONENT	0x40
 #define MPT_TARGET_FLAGS_LED_ON		0x80
 

drivers/message/fusion/mptbase.h typedef struct _VirtDevice { · line 414

Quoted 10 lines
drivers/message/fusion/mptbase.h renamed from drivers/message/fusion/mptbase.h~mpt-remove-unused-struct-mpt_proc_entry_t +0 -10
-/*
- *	/proc/mpt interface
- */
-typedef struct {
-	const char	*name;
-	mode_t		 mode;
-	int		 pad;
-	read_proc_t	*read_proc;
-	write_proc_t	*write_proc;
-} mpt_proc_entry_t;

Andrew, please, just drop it.
I'll remove this code and much more during final conversion to seqfiles.