summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/allocator
diff options
context:
space:
mode:
authorYoussef Samir <quic_yabdulra@quicinc.com>2025-10-07 18:11:48 +0200
committerJeff Hugo <jeff.hugo@oss.qualcomm.com>2025-10-14 09:10:10 -0600
commit754fcd22d18026fcf0fec0e07ab095f84cd941fd (patch)
treea5e670a5e30875ebe5ade6e8caacba06931a3fb0 /rust/kernel/alloc/allocator
parent5f63e033874a03b1773eaa140809241aa0be6f77 (diff)
accel/qaic: Remove redundant retry_count = 0 statement
If msg_xfer() is called and the channel ring does not have enough room to accommodate the whole message, the function sleeps and tries again. It uses retry_count to keep track of the number of retrials done. This variable is not used after the space check succeeds. So, remove the retry_count = 0 statement used later in the function. Signed-off-by: Youssef Samir <quic_yabdulra@quicinc.com> Signed-off-by: Youssef Samir <youssef.abdulrahman@oss.qualcomm.com> Reviewed-by: Jeff Hugo <jeff.hugo@oss.qualcomm.com> Reviewed-by: Carl Vanderlip <carl.vanderlip@oss.qualcomm.com> Signed-off-by: Jeff Hugo <jeff.hugo@oss.qualcomm.com> Link: https://lore.kernel.org/r/20251007161148.422744-1-youssef.abdulrahman@oss.qualcomm.com
Diffstat (limited to 'rust/kernel/alloc/allocator')
0 files changed, 0 insertions, 0 deletions