patch-2.1.37 linux/drivers/scsi/seagate.c

Next file: linux/drivers/scsi/seagate.h
Previous file: linux/drivers/scsi/sd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.36/linux/drivers/scsi/seagate.c linux/drivers/scsi/seagate.c
@@ -564,36 +564,6 @@
   return buffer;
 }
 
-int seagate_st0x_proc_info (char *buffer, char **start, off_t offset,
-                            int length, int hostno, int inout)
-{
-  const char *info = seagate_st0x_info (NULL);
-  int len;
-  int pos;
-  int begin;
-
-  if (inout)
-    return (-ENOSYS);
-
-  begin = 0;
-  strcpy (buffer, info);
-  strcat (buffer, "\n");
-
-  pos = len = strlen (buffer);
-
-  if (pos < offset)
-  {
-    len = 0;
-    begin = pos;
-  }
-
-  *start = buffer + (offset - begin);
-  len -= (offset - begin);
-  if (len > length)
-    len = length;
-  return (len);
-}
-
 /*
  * These are our saved pointers for the outstanding command that is
  * waiting for a reconnect

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov