Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8f1adb5f27d352c776ac34648cc277d1f8199dba
Commit:     8f1adb5f27d352c776ac34648cc277d1f8199dba
Parent:     3958fb34ef18529c1e4a3eca44b7aaf94d4f4697
Author:     Samuel Ortiz <[EMAIL PROTECTED]>
AuthorDate: Mon Jan 15 19:40:34 2007 -0800
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Tue Jan 23 20:25:50 2007 -0800

    [IrDA]: Removed incorrect IRDA_ASSERT()
    
    With USB2.0 bulk out MTU can be 512 bytes, so checking it only for 64
    bytes is incorrect.
    
    Signed-off-by: Samuel Ortiz <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 drivers/net/irda/irda-usb.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/net/irda/irda-usb.c b/drivers/net/irda/irda-usb.c
index 80cbf3f..340ee99 100644
--- a/drivers/net/irda/irda-usb.c
+++ b/drivers/net/irda/irda-usb.c
@@ -1515,8 +1515,6 @@ static inline int irda_usb_parse_endpoints(struct 
irda_usb_cb *self, struct usb_
 
        IRDA_DEBUG(0, "%s(), And our endpoints are : in=%02X, out=%02X (%d), 
int=%02X\n",
                __FUNCTION__, self->bulk_in_ep, self->bulk_out_ep, 
self->bulk_out_mtu, self->bulk_int_ep);
-       /* Should be 8, 16, 32 or 64 bytes */
-       IRDA_ASSERT(self->bulk_out_mtu == 64, ;);
 
        return((self->bulk_in_ep != 0) && (self->bulk_out_ep != 0));
 }
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to