Staging: otus: wrap_sec: remove casts from void*
authorKulikov Vasiliy <segooon@gmail.com>
Tue, 29 Jun 2010 10:16:00 +0000 (14:16 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Jul 2010 20:46:59 +0000 (13:46 -0700)
Remove unnesessary casts from void*.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/otus/wrap_sec.c

index 0b238e9999bf0d097ff12a85fe17fc05437ebac5..1fba7a98d52bdec16b2756964bbb20fbfd7ecdce 100644 (file)
@@ -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;