Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354642
b: refs/heads/master
c: 05c062c
h: refs/heads/master
v: v3
  • Loading branch information
Sebastian Andrzej Siewior authored and Felipe Balbi committed Jan 21, 2013
1 parent 75570bb commit 0092caa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cf9a08ae5aece88987bbeee8eb0dd0ebb5015815
refs/heads/master: 05c062c571ee19f08deb1c12fc2dd14b92f89eb8
10 changes: 0 additions & 10 deletions trunk/drivers/usb/gadget/f_acm.c
Original file line number Diff line number Diff line change
Expand Up @@ -711,13 +711,6 @@ acm_unbind(struct usb_configuration *c, struct usb_function *f)
kfree(acm);
}

/* Some controllers can't support CDC ACM ... */
static inline bool can_support_cdc(struct usb_configuration *c)
{
/* everything else is *probably* fine ... */
return true;
}

/**
* acm_bind_config - add a CDC ACM function to a configuration
* @c: the configuration to support the CDC ACM instance
Expand All @@ -735,9 +728,6 @@ int acm_bind_config(struct usb_configuration *c, u8 port_num)
struct f_acm *acm;
int status;

if (!can_support_cdc(c))
return -EINVAL;

/* REVISIT might want instance-specific strings to help
* distinguish instances ...
*/
Expand Down

0 comments on commit 0092caa

Please sign in to comment.