Merge branch 'params' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux...
[sfrench/cifs-2.6.git] / drivers / message / fusion / mptbase.h
index 23ed3dec72a59f55665d8d2ad4086fb48a226aaf..f71f2294847780472851bd17835937aaa8fce6f1 100644 (file)
@@ -419,31 +419,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;                  \
-       if (len < request) {            \
-               *eof = 1;               \
-               if (len <= 0)           \
-                       return 0;       \
-       } else                          \
-               len = request;          \
-       *start = buf + offset;          \
-       return len;                     \
-} while (0)
-
-
 /*
  *     IOCTL structure and associated defines
  */