USB: Remove unneeded void * casts in core files
authorTobias Klauser <tklauser@distanz.ch>
Wed, 13 Sep 2006 19:38:41 +0000 (21:38 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 27 Sep 2006 18:58:59 +0000 (11:58 -0700)
commitec17cf1cfe0b557210b27313bd584e9b5187d4ca
tree002f63361c189d3ce3820284199e6fe5d3d95eec
parentd774efeabccf5f5207aa70d5c126fc928e8b30bd
USB: Remove unneeded void * casts in core files

The patch removes unneeded casts for the following (void *) pointers:
 - struct file: private
 - struct urb: context
 - struct usb_bus: hcpriv
 - return value of kmalloc()

The patch also contains some whitespace cleanup in the relevant areas.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/devices.c
drivers/usb/core/devio.c
drivers/usb/core/hub.c
drivers/usb/core/message.c
drivers/usb/core/urb.c