Remove unneeded casts of (void *) pointers.

Signed-off-by: Domen Puncer <domen@coderock.org>

--- c/drivers/net/irda/irda-usb.c	2004-10-19 13:52:58.000000000 +0200
+++ a/drivers/net/irda/irda-usb.c	2004-12-03 12:27:59.000000000 +0100
@@ -733,7 +733,7 @@ static void irda_usb_submit(struct irda_
  */
 static void irda_usb_receive(struct urb *urb, struct pt_regs *regs)
 {
-	struct sk_buff *skb = (struct sk_buff *) urb->context;
+	struct sk_buff *skb = urb->context;
 	struct irda_usb_cb *self; 
 	struct irda_skb_cb *cb;
 	struct sk_buff *newskb;
@@ -745,7 +745,7 @@ static void irda_usb_receive(struct urb 
 	/* Find ourselves */
 	cb = (struct irda_skb_cb *) skb->cb;
 	ASSERT(cb != NULL, return;);
-	self = (struct irda_usb_cb *) cb->context;
+	self = cb->context;
 	ASSERT(self != NULL, return;);
 
 	/* If the network is closed or the device gone, stop everything */
@@ -911,7 +911,7 @@ static int irda_usb_net_open(struct net_
 	IRDA_DEBUG(1, "%s()\n", __FUNCTION__);
 
 	ASSERT(netdev != NULL, return -1;);
-	self = (struct irda_usb_cb *) netdev->priv;
+	self = netdev->priv;
 	ASSERT(self != NULL, return -1;);
 
 	/* Can only open the device if it's there */
@@ -983,7 +983,7 @@ static int irda_usb_net_close(struct net
 	IRDA_DEBUG(1, "%s()\n", __FUNCTION__);
 
 	ASSERT(netdev != NULL, return -1;);
-	self = (struct irda_usb_cb *) netdev->priv;
+	self = netdev->priv;
 	ASSERT(self != NULL, return -1;);
 
 	/* Clear this flag *before* unlinking the urbs and *before*
@@ -996,7 +996,7 @@ static int irda_usb_net_close(struct net
 	/* Deallocate all the Rx path buffers (URBs and skb) */
 	for (i = 0; i < IU_MAX_RX_URBS; i++) {
 		struct urb *urb = self->rx_urb[i];
-		struct sk_buff *skb = (struct sk_buff *) urb->context;
+		struct sk_buff *skb = urb->context;
 		/* Cancel the receive command */
 		usb_unlink_urb(urb);
 		/* The skb is ours, free it */
@@ -1443,7 +1443,7 @@ static int irda_usb_probe(struct usb_int
 	/* Don't change this buffer size and allocation without doing
 	 * some heavy and complete testing. Don't ask why :-(
 	 * Jean II */
-	self->speed_buff = (char *) kmalloc(IRDA_USB_SPEED_MTU, GFP_KERNEL);
+	self->speed_buff = kmalloc(IRDA_USB_SPEED_MTU, GFP_KERNEL);
 	if (self->speed_buff == NULL) 
 		goto err_out_3;
 
