]> git.hungrycats.org Git - linux/commitdiff
[PATCH] psi240i build fix
authorAndrew Morton <akpm@osdl.org>
Tue, 12 Oct 2004 10:39:09 +0000 (05:39 -0500)
committerChristoph Hellwig <hch@lst.de>
Tue, 12 Oct 2004 10:39:09 +0000 (05:39 -0500)
drivers/scsi/psi240i.c:713: unknown field `abort' specified in initializer
drivers/scsi/psi240i.c:713: warning: initialization from incompatible pointer type
drivers/scsi/psi240i.c:714: unknown field `reset' specified in initializer
drivers/scsi/psi240i.c:714: warning: initialization from incompatible pointer typ

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/psi240i.c

index aa505c1babdd23af687ff1c5fb5bd1870767e167..03df5b630cd9add45eaa3a23cbb3e0ce88c974e4 100644 (file)
@@ -641,41 +641,6 @@ static int Psi240i_Release(struct Scsi_Host *shost)
        return 0;
 }
 
-/****************************************************************
- *     Name:   Psi240i_Abort
- *
- *     Description:    Process the Abort command from the SCSI manager.
- *
- *     Parameters:             SCpnt - Pointer to SCSI command structure.
- *
- *     Returns:                Allways snooze.
- *
- ****************************************************************/
-int Psi240i_Abort (Scsi_Cmnd *SCpnt)
-       {
-       DEB (printk ("psi240i_abort\n"));
-       return SCSI_ABORT_SNOOZE;
-       }
-/****************************************************************
- *     Name:   Psi240i_Reset
- *
- *     Description:    Process the Reset command from the SCSI manager.
- *
- *     Parameters:             SCpnt - Pointer to SCSI command structure.
- *                                     flags - Flags about the reset command
- *
- *     Returns:                No active command at this time, so this means
- *                                     that each time we got some kind of response the
- *                                     last time through.  Tell the mid-level code to
- *                                     request sense information in order to decide what
- *                                     to do next.
- *
- ****************************************************************/
-int Psi240i_Reset (Scsi_Cmnd *SCpnt, unsigned int reset_flags)
-       {
-       return SCSI_RESET_PUNT;
-       }
-
 /****************************************************************
  *     Name:   Psi240i_BiosParam
  *
@@ -710,8 +675,6 @@ static Scsi_Host_Template driver_template = {
        .detect                 = Psi240i_Detect,
        .release                = Psi240i_Release,
        .queuecommand           = Psi240i_QueueCommand,
-       .abort                  = Psi240i_Abort,
-       .reset                  = Psi240i_Reset,
        .bios_param             = Psi240i_BiosParam,
        .can_queue              = 1,
        .this_id                = -1,