Messages in this thread | | | Date | Thu, 05 Jul 2018 19:35:01 +0900 (KST) | Subject | Re: [PATCH] fjes: use currently unused variable my_epid and max_epid | From | David Miller <> |
| |
From: Colin King <colin.king@canonical.com> Date: Thu, 5 Jul 2018 11:05:32 +0100
> From: Colin Ian King <colin.king@canonical.com> > > 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 <colin.king@canonical.com>
Applied.
| |