]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
staging: unisys: remove unused fields from iopart structures
authorBenjamin Romer <benjamin.romer@unisys.com>
Fri, 3 Oct 2014 18:09:22 +0000 (14:09 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:07 +0000 (10:29 +0800)
The bus_no and dev_no fields in several of the iopart command parameter
structures are unused. Remove them.

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/include/uisqueue.h

index e87f3cd1f55e9af322630ce200bdf059c617b414..db9d2051ae2fe912463abae7845fbfe6036475d8 100644 (file)
@@ -244,21 +244,15 @@ struct add_vdisk_iopart {
        struct uisscsi_dest pdest;    /* scsi bus, target, lun for phys disk */
        u8 sernum[MAX_SERIAL_NUM];    /* serial num of physical disk */
        u32 serlen;                   /* length of serial num */
-       u32 bus_no;
-       u32 dev_no;
 };
 
 struct del_vdisk_iopart {
        void *chanptr;               /* pointer to data channel */
        struct uisscsi_dest vdest;   /* scsi bus, target, lun for virt disk */
-       u32 bus_no;
-       u32 dev_no;
 };
 
 struct del_virt_iopart {
        void *chanptr;               /* pointer to data channel */
-       u32 bus_no;
-       u32 dev_no;
 };
 
 struct det_virt_iopart {            /* detach internal port */