]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
isdn/gigaset: drop unused cardstate structure member
authorTilman Schmidt <tilman@imap.cc>
Fri, 3 Oct 2014 15:03:32 +0000 (17:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Oct 2014 01:17:52 +0000 (21:17 -0400)
Field int_in_endpointAddr was set but never used. Drop it.

Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/gigaset/usb-gigaset.c

index 00d40773b07fa073840feecf89f5a3cf2428e4ee..8bda5c812ef58b766e686c8c5309fa44dcd971ce 100644 (file)
@@ -142,7 +142,6 @@ struct usb_cardstate {
        unsigned char           *rcvbuf;
        int                     rcvbuf_size;
        struct urb              *read_urb;
-       __u8                    int_in_endpointAddr;
 
        char                    bchars[6];              /* for request 0x19 */
 };
@@ -741,7 +740,6 @@ static int gigaset_probe(struct usb_interface *interface,
        }
        buffer_size = le16_to_cpu(endpoint->wMaxPacketSize);
        ucs->rcvbuf_size = buffer_size;
-       ucs->int_in_endpointAddr = endpoint->bEndpointAddress;
        ucs->rcvbuf = kmalloc(buffer_size, GFP_KERNEL);
        if (!ucs->rcvbuf) {
                dev_err(cs->dev, "Couldn't allocate rcvbuf\n");