lkml.org 
[lkml]   [2006]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[RFC: -mm patch] remove drivers/scsi/constants.c:scsi_print_req_sense()
    On Sun, Mar 12, 2006 at 03:10:36AM -0800, Andrew Morton wrote:
    >...
    > Changes since 2.6.16-rc5-mm3:
    >...
    > git-scsi-misc.patch
    >...
    > git trees
    >...


    This function is no longer used anywhere.


    Signed-off-by: Adrian Bunk <bunk@stusta.de>

    ---

    drivers/scsi/constants.c | 10 ----------
    include/scsi/scsi_dbg.h | 1 -
    2 files changed, 11 deletions(-)

    --- linux-2.6.16-rc6-mm1-full/include/scsi/scsi_dbg.h.old 2006-03-13 21:15:08.000000000 +0100
    +++ linux-2.6.16-rc6-mm1-full/include/scsi/scsi_dbg.h 2006-03-13 21:15:17.000000000 +0100
    @@ -9,7 +9,6 @@
    extern void scsi_print_sense_hdr(const char *, struct scsi_sense_hdr *);
    extern void __scsi_print_command(unsigned char *);
    extern void scsi_print_sense(const char *, struct scsi_cmnd *);
    -extern void scsi_print_req_sense(const char *, struct scsi_request *);
    extern void __scsi_print_sense(const char *name,
    const unsigned char *sense_buffer,
    int sense_len);
    --- linux-2.6.16-rc6-mm1-full/drivers/scsi/constants.c.old 2006-03-13 21:15:41.000000000 +0100
    +++ linux-2.6.16-rc6-mm1-full/drivers/scsi/constants.c 2006-03-13 21:39:51.000000000 +0100
    @@ -1259,16 +1259,6 @@
    }
    EXPORT_SYMBOL(scsi_print_sense);

    -void scsi_print_req_sense(const char *devclass, struct scsi_request *sreq)
    -{
    - const char *name = devclass;
    -
    - if (sreq->sr_request->rq_disk)
    - name = sreq->sr_request->rq_disk->disk_name;
    - __scsi_print_sense(name, sreq->sr_sense_buffer, SCSI_SENSE_BUFFERSIZE);
    -}
    -EXPORT_SYMBOL(scsi_print_req_sense);
    -
    void scsi_print_command(struct scsi_cmnd *cmd)
    {
    /* Assume appended output (i.e. not at start of line) */
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-03-13 22:23    [W:0.034 / U:0.352 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site