aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn
diff options
context:
space:
mode:
authorTilman Schmidt <tilman@imap.cc>2014-10-03 11:03:32 -0400
committerDavid S. Miller <davem@davemloft.net>2014-10-05 21:17:52 -0400
commit434d13ba399d40b3dc87f7d0b954a3f65d06f519 (patch)
tree2dfdd1fa6a52e9d686789dfe219b87a22b6be979 /drivers/isdn
parent5dcd7d843950edfc9108246eab94c858b6dc5d6f (diff)
isdn/gigaset: drop unused cardstate structure member
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>
Diffstat (limited to 'drivers/isdn')
-rw-r--r--drivers/isdn/gigaset/usb-gigaset.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/isdn/gigaset/usb-gigaset.c b/drivers/isdn/gigaset/usb-gigaset.c
index 00d40773b07f..8bda5c812ef5 100644
--- a/drivers/isdn/gigaset/usb-gigaset.c
+++ b/drivers/isdn/gigaset/usb-gigaset.c
@@ -142,7 +142,6 @@ struct usb_cardstate {
142 unsigned char *rcvbuf; 142 unsigned char *rcvbuf;
143 int rcvbuf_size; 143 int rcvbuf_size;
144 struct urb *read_urb; 144 struct urb *read_urb;
145 __u8 int_in_endpointAddr;
146 145
147 char bchars[6]; /* for request 0x19 */ 146 char bchars[6]; /* for request 0x19 */
148}; 147};
@@ -741,7 +740,6 @@ static int gigaset_probe(struct usb_interface *interface,
741 } 740 }
742 buffer_size = le16_to_cpu(endpoint->wMaxPacketSize); 741 buffer_size = le16_to_cpu(endpoint->wMaxPacketSize);
743 ucs->rcvbuf_size = buffer_size; 742 ucs->rcvbuf_size = buffer_size;
744 ucs->int_in_endpointAddr = endpoint->bEndpointAddress;
745 ucs->rcvbuf = kmalloc(buffer_size, GFP_KERNEL); 743 ucs->rcvbuf = kmalloc(buffer_size, GFP_KERNEL);
746 if (!ucs->rcvbuf) { 744 if (!ucs->rcvbuf) {
747 dev_err(cs->dev, "Couldn't allocate rcvbuf\n"); 745 dev_err(cs->dev, "Couldn't allocate rcvbuf\n");