mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 07:04:24 +00:00
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
1 changed files with 0 additions and 2 deletions
|
@ -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 a new issue