staging: most: usb: remove pointer initialization
authorChristian Gromm <christian.gromm@microchip.com>
Tue, 21 Nov 2017 14:04:59 +0000 (15:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Nov 2017 08:20:35 +0000 (09:20 +0100)
This patch removes the initialization of the priv pointer of the
most_interface structure.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/usb/usb.c

index 7da7dd5..87e7fec 100644 (file)
@@ -1036,8 +1036,6 @@ hdm_probe(struct usb_interface *interface, const struct usb_device_id *id)
                goto exit_free1;
 
        mdev->iface.channel_vector = mdev->cap;
-       mdev->iface.priv = NULL;
-
        mdev->ep_address =
                kcalloc(num_endpoints, sizeof(*mdev->ep_address), GFP_KERNEL);
        if (!mdev->ep_address)