File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
drivers/hid/intel-ish-hid/ipc Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -261,7 +261,6 @@ static void __maybe_unused ish_resume_handler(struct work_struct *work)
261
261
struct pci_dev * pdev = to_pci_dev (ish_resume_device );
262
262
struct ishtp_device * dev = pci_get_drvdata (pdev );
263
263
uint32_t fwsts = dev -> ops -> get_fw_status (dev );
264
- int ret ;
265
264
266
265
if (ish_should_leave_d0i3 (pdev ) && !dev -> suspend_flag
267
266
&& IPC_IS_ISH_ILUP (fwsts )) {
@@ -273,7 +272,7 @@ static void __maybe_unused ish_resume_handler(struct work_struct *work)
273
272
274
273
/* Waiting to get resume response */
275
274
if (dev -> resume_flag )
276
- ret = wait_event_interruptible_timeout (dev -> resume_wait ,
275
+ wait_event_interruptible_timeout (dev -> resume_wait ,
277
276
!dev -> resume_flag ,
278
277
msecs_to_jiffies (WAIT_FOR_RESUME_ACK_MS ));
279
278
You can’t perform that action at this time.
0 commit comments