staging: most: usb: remove pointer initialization
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>
This commit is contained in:
parent
9abfc8bb79
commit
66b468865a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user