Thread (2 messages) flat view 2 messages, 2 authors, 2018-07-05

Re: [PATCH] fjes: use currently unused variable my_epid and max_epid

From: David Miller <davem@davemloft.net>
Date: 2018-07-05 10:35:10
Also in: kernel-janitors, lkml

From: Colin King <redacted>
Date: Thu,  5 Jul 2018 11:05:32 +0100
From: Colin Ian King <redacted>

Variables my_epid and max_epid are currently assigned and not being
used - however, I suspect they were intended to be used in the for-loops
to reduce the dereferencing of hw.  Replace hw->my_epid and hw->max_epid
with these variables.

Cleans up clang warnings:
warning: variable 'my_epid' set but not used [-Wunused-but-set-variable]
variable 'max_epid' set but not used [-Wunused-but-set-variable]

Signed-off-by: Colin Ian King <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help