diff options
author | Christian Gromm <christian.gromm@microchip.com> | 2017-11-21 15:04:59 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-27 09:20:35 +0100 |
commit | 66b468865ad83dc1bc48c6a74c84ddc218046ef4 (patch) | |
tree | 1f942ac1eeacad7c37d5057fdb28c600fb27b4a8 /drivers | |
parent | 9abfc8bb795b8d3c1323288f978c3718de843d64 (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/most/usb/usb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/most/usb/usb.c b/drivers/staging/most/usb/usb.c index 7da7dd5e718d..87e7fec2af8a 100644 --- a/drivers/staging/most/usb/usb.c +++ b/drivers/staging/most/usb/usb.c @@ -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) |