Skip to content

Commit

Permalink
isdn/gigaset: drop unused cardstate structure member
Browse files Browse the repository at this point in the history
Field int_in_endpointAddr was set but never used. Drop it.

Signed-off-by: Tilman Schmidt <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
tilmanschmidt authored and davem330 committed Oct 6, 2014
1 parent 5dcd7d8 commit 434d13b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/isdn/gigaset/usb-gigaset.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
};
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit 434d13b

Please sign in to comment.