mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
Input: ims-pcu - drop redundant driver-data assignment
The driver data for the data interface has already been set by usb_driver_claim_interface() so drop the subsequent redundant assignment. Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://lore.kernel.org/r/20210318155525.22496-1-johan@kernel.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
e512a9e9f4
commit
bfae2779fe
1 changed files with 0 additions and 1 deletions
|
@ -2018,7 +2018,6 @@ static int ims_pcu_probe(struct usb_interface *intf,
|
|||
}
|
||||
|
||||
usb_set_intfdata(pcu->ctrl_intf, pcu);
|
||||
usb_set_intfdata(pcu->data_intf, pcu);
|
||||
|
||||
error = ims_pcu_buffers_alloc(pcu);
|
||||
if (error)
|
||||
|
|
Loading…
Reference in a new issue