aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2020-11-24 17:59:16 +0200
committerKalle Valo <[email protected]>2020-12-02 20:20:16 +0200
commite7bcc145bcd035e56da7b97b033c463b32a5ff80 (patch)
tree07b9237d25e99a85b0ceaf3691dd1474c95e4b43 /lib/mpi/mpi-sub-ui.c
parentd35d1375493b0f962a5da5aef015b8bd215e059d (diff)
ath11k: Fix an error handling path
If 'kzalloc' fails, we must return an error code. While at it, remove a useless initialization of 'err' which could hide the issue. Fixes: d5c65159f289 ("ath11k: driver for Qualcomm IEEE 802.11ax devices") Signed-off-by: Christophe JAILLET <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions