aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2007-06-02 14:00:08 -0400
committerGuido Guenther <agx@bogon.sigxcpu.org>2007-06-03 18:38:21 +0200
commitcc5ca86b42bae9948fada385d3eb1ff7a4d6bb97 (patch)
tree2cd97d46ed5ac375df96948cf0d958b6b8987067
parentd9cf46585ba75197eb91976d0445cd2ecc0a279f (diff)
[PATCH] Remove another unneeded cast
Signed-off-by: Pavel Roskin <proski@gnu.org>
-rw-r--r--at76_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/at76_usb.c b/at76_usb.c
index fc27f51..58cbf31 100644
--- a/at76_usb.c
+++ b/at76_usb.c
@@ -6251,7 +6251,7 @@ static int at76_probe(struct usb_interface *interface,
usb_get_dev(udev);
- if ((priv = at76_alloc_new_device(udev, (u8) board_type)) == NULL) {
+ if ((priv = at76_alloc_new_device(udev, board_type)) == NULL) {
ret = -ENOMEM;
goto error_alloc;
}