linux-stable/drivers
Adam Guerin 1243f982b6 crypto: qat - remove double initialization of value
[ Upstream commit a66cf93ab3 ]

Remove double initialization of the reg variable.

This is to fix the following warning when compiling the QAT driver
using clang scan-build:
    drivers/crypto/intel/qat/qat_common/adf_gen4_ras.c:1010:6: warning: Value stored to 'reg' during its initialization is never read [deadcode.DeadStores]
     1010 |         u32 reg = ADF_CSR_RD(csr, ADF_GEN4_SSMCPPERR);
          |             ^~~   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    drivers/crypto/intel/qat/qat_common/adf_gen4_ras.c:1109:6: warning: Value stored to 'reg' during its initialization is never read [deadcode.DeadStores]
     1109 |         u32 reg = ADF_CSR_RD(csr, ADF_GEN4_SER_ERR_SSMSH);
          |             ^~~   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Fixes: 99b1c9826e ("crypto: qat - count QAT GEN4 errors")
Signed-off-by: Adam Guerin <adam.guerin@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-26 18:17:12 -04:00
..
accel
accessibility
acpi ACPI: scan: Fix device check notification handling 2024-03-26 18:16:50 -04:00
amba
android
ata
atm
auxdisplay
base x86/rfds: Mitigate Register File Data Sampling (RFDS) 2024-03-15 10:48:13 -04:00
bcma
block aoe: fix the potential use-after-free problem in aoecmd_cfg_pkts 2024-03-26 18:16:29 -04:00
bluetooth Bluetooth: btusb: Fix memory leak 2024-03-26 18:16:54 -04:00
bus bus: tegra-aconnect: Update dependency to ARCH_TEGRA 2024-03-26 18:16:44 -04:00
cache
cdrom
cdx
char
clk clk: mediatek: mt7981-topckgen: flag SGM_REG_SEL as critical 2024-03-26 18:17:10 -04:00
clocksource
comedi comedi: comedi_test: Prevent timers rescheduling during deletion 2024-03-05 14:21:45 +00:00
connector
counter
cpufreq cpufreq: qcom-hw: add CONFIG_COMMON_CLK dependency 2024-03-26 18:16:44 -04:00
cpuidle
crypto crypto: qat - remove double initialization of value 2024-03-26 18:17:12 -04:00
cxl
dax
dca
devfreq
dio
dma dmaengine: tegra210-adma: Update dependency to ARCH_TEGRA 2024-03-26 18:17:00 -04:00
dma-buf
dpll dpll: fix dpll_xa_ref_*_del() for multiple registrations 2024-03-26 18:16:56 -04:00
edac
eisa
extcon
firewire firewire: ohci: prevent leak of left-over IRQ on unbind 2024-03-06 22:35:22 +09:00
firmware firmware: arm_scmi: Fix double free in SMC transport cleanup path 2024-03-26 18:16:46 -04:00
fpga
fsi
gnss
gpio gpiolib: Pass consumer device through to core in devm_fwnode_gpiod_get_index() 2024-03-26 18:16:50 -04:00
gpu drm/tegra: put drm_gem_object ref on error in tegra_fb_create 2024-03-26 18:17:10 -04:00
greybus
hid HID: lenovo: Add middleclick_workaround sysfs knob for cptkbd 2024-03-26 18:17:01 -04:00
hsi
hte
hv Drivers: hv: vmbus: make hv_bus const 2024-03-03 02:32:35 +00:00
hwmon
hwspinlock
hwtracing
i2c i2c: aspeed: Fix the dummy irq expected print 2024-03-08 10:10:27 +01:00
i3c
idle
iio
infiniband
input Input updates for v6.8-rc7 2024-03-08 13:06:35 -08:00
interconnect
iommu iommu: Fix compilation without CONFIG_IOMMU_INTEL 2024-03-26 18:16:55 -04:00
ipack
irqchip
isdn
leds
macintosh
mailbox
mcb
md dm: call the resume method on internal suspend 2024-03-26 18:16:58 -04:00
media media: i2c: imx290: Fix IMX920 typo 2024-03-26 18:17:10 -04:00
memory memory: tegra: Correct DLA client names 2024-03-26 18:16:46 -04:00
memstick
message
mfd mfd: altera-sysmgr: Call of_node_put() only when of_parse_phandle() takes a ref 2024-03-26 18:17:10 -04:00
misc mei: gsc_proxy: match component when GSC is on different bus 2024-03-05 14:30:09 +00:00
mmc mmc: wmt-sdmmc: remove an incorrect release_mem_region() call in the .remove function 2024-03-26 18:16:51 -04:00
most
mtd mtd: spinand: esmt: Extend IDs to 5 bytes 2024-03-26 18:17:03 -04:00
mux
net nfp: flower: handle acti_netdevs allocation failure 2024-03-26 18:16:57 -04:00
nfc
ntb NTB: fix possible name leak in ntb_register_device() 2024-03-26 18:17:06 -04:00
nubus
nvdimm
nvme nvme: host: fix double-free of struct nvme_id_ns in ns_update_nuse() 2024-03-26 18:16:29 -04:00
nvmem
of
opp OPP: debugfs: Fix warning around icc_get_name() 2024-03-26 18:16:56 -04:00
parisc
parport
pci PCI: Mark 3ware-9650SE Root Port Extended Tags as broken 2024-03-26 18:17:08 -04:00
pcmcia
peci
perf
phy phy: qcom-qmp-combo: fix type-c switch registration 2024-03-06 20:37:37 +05:30
pinctrl pinctrl: renesas: Allow the compiler to optimize away sh_pfc_pm 2024-03-26 18:17:09 -04:00
platform platform/x86/amd/pmf: Fix missing error code in amd_pmf_init_smart_pc() 2024-03-05 10:17:07 +01:00
pmdomain pmdomain: qcom: rpmhpd: Drop SA8540P gfx.lvl 2024-03-26 18:16:35 -04:00
pnp
power
powercap powercap: dtpm_cpu: Fix error check against freq_qos_add_request() 2024-03-26 18:16:45 -04:00
pps
ps3
ptp
pwm pwm: dwc: use pm_sleep_ptr() macro 2024-03-26 18:16:44 -04:00
rapidio
ras
regulator regulator: userspace-consumer: add module device table 2024-03-26 18:16:50 -04:00
remoteproc
reset
rpmsg
rtc rtc: test: Fix invalid format specifier. 2024-03-26 18:16:28 -04:00
s390 s390/dasd: fix double module refcount decrement 2024-03-26 18:16:27 -04:00
sbus
scsi
sh
siox
slimbus
soc soc: qcom: llcc: Check return value on Broadcast_OR reg read 2024-03-26 18:16:43 -04:00
soundwire
spi spi: move split xfers for CS_WORD emulation 2024-03-26 18:16:38 -04:00
spmi
ssb
staging media: imx: csc/scaler: fix v4l2_ctrl_handler memory leak 2024-03-26 18:17:07 -04:00
target
tc
tee tee: optee: Fix kernel panic caused by incorrect error handling 2024-03-04 09:49:03 +01:00
thermal
thunderbolt
tty tty: mips_ejtag_fdc: Fix passing incompatible pointer type warning 2024-03-26 18:17:10 -04:00
ufs
uio
usb xhci: Fix failure to detect ring expansion need. 2024-03-05 13:47:08 +00:00
vdpa
vfio
vhost
video fbdev/simplefb: change loglevel when the power domains cannot be parsed 2024-03-26 18:16:58 -04:00
virt
virtio
w1
watchdog
xen
zorro
Kconfig
Makefile