summaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/ims-pcu.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2021-03-19 20:35:58 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2021-03-19 20:37:42 -0700
commitbfae2779fe4b92421fbe1b2008bfd6b9fada823e (patch)
treef5efc079fe54b0c8a8476a4df91c96f9f9f4fd77 /drivers/input/misc/ims-pcu.c
parente512a9e9f44db4fad09d3c747c07311a643dd356 (diff)
downloadlinux-bfae2779fe4b92421fbe1b2008bfd6b9fada823e.tar.bz2
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>
Diffstat (limited to 'drivers/input/misc/ims-pcu.c')
-rw-r--r--drivers/input/misc/ims-pcu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/misc/ims-pcu.c b/drivers/input/misc/ims-pcu.c
index 08b9b5cdb943..81de8c4e37d0 100644
--- a/drivers/input/misc/ims-pcu.c
+++ b/drivers/input/misc/ims-pcu.c
@@ -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)