summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKulikov Vasiliy <segooon@gmail.com>2010-06-29 14:16:00 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-07-08 13:46:59 -0700
commit5f91c7ed1ec2eac7a278fade45b88e762f93c3d8 (patch)
treeeb9a6b5fdeecfcc1d7f8a21627d7739704360294
parent5b2652b6e099cf8faca3bfa2a7534216dd83b6d5 (diff)
downloadlinux-3.10-5f91c7ed1ec2eac7a278fade45b88e762f93c3d8.tar.gz
linux-3.10-5f91c7ed1ec2eac7a278fade45b88e762f93c3d8.tar.bz2
linux-3.10-5f91c7ed1ec2eac7a278fade45b88e762f93c3d8.zip
Staging: otus: wrap_sec: remove casts from void*
Remove unnesessary casts from void*. Signed-off-by: Kulikov Vasiliy <segooon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/otus/wrap_sec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/otus/wrap_sec.c b/drivers/staging/otus/wrap_sec.c
index 0b238e9999b..1fba7a98d52 100644
--- a/drivers/staging/otus/wrap_sec.c
+++ b/drivers/staging/otus/wrap_sec.c
@@ -36,7 +36,7 @@ extern int zfLnxCencSendMsg(struct sock *netlink_sk, u_int8_t *msg, int len);
u16_t zfLnxCencAsocNotify(zdev_t *dev, u16_t *macAddr, u8_t *body,
u16_t bodySize, u16_t port)
{
- struct usbdrv_private *macp = (struct usbdrv_private *)dev->priv;
+ struct usbdrv_private *macp = dev->priv;
struct zydas_cenc_sta_info cenc_info;
/* struct sock *netlink_sk; */
u8_t ie_len;