Messages in this thread | | | Date | Fri, 11 Aug 2023 07:51:23 -0600 | Subject | Re: [PATCH] bus: mhi: host: remove unused-but-set parameter | From | Jeffrey Hugo <> |
| |
On 8/11/2023 7:45 AM, Arnd Bergmann wrote: > From: Arnd Bergmann <arnd@arndb.de> > > Clang warns about a parameter that is decremented but never evaluated heere: > > bus/mhi/host/main.c:803:13: error: parameter 'event_quota' set but not used [-Werror,-Wunused-but-set-parameter] > u32 event_quota) > > Remove the access to the variable to avoid that warning. > > Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
| |