Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: cdnsp: remove not used temp_64 variables

Patch removes initialized but not used variables temp_64
from cdnsp_run function.

Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Peter Chen <peter.chen@kernel.org>
Signed-off-by: Pawel Laszczak <pawell@cadence.com>
Link: https://lore.kernel.org/r/20220111114449.44402-1-pawell@gli-login.cadence.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Pawel Laszczak and committed by
Greg Kroah-Hartman
0bf6f145 03db9289

-3
-3
drivers/usb/cdns3/cdnsp-gadget.c
··· 1243 1243 enum usb_device_speed speed) 1244 1244 { 1245 1245 u32 fs_speed = 0; 1246 - u64 temp_64; 1247 1246 u32 temp; 1248 1247 int ret; 1249 1248 1250 - temp_64 = cdnsp_read_64(&pdev->ir_set->erst_dequeue); 1251 - temp_64 &= ~ERST_PTR_MASK; 1252 1249 temp = readl(&pdev->ir_set->irq_control); 1253 1250 temp &= ~IMOD_INTERVAL_MASK; 1254 1251 temp |= ((IMOD_DEFAULT_INTERVAL / 250) & IMOD_INTERVAL_MASK);