mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
netlabel: remove redundant assignment to pointer iter
Pointer iter is being initialized with a value that is never read and
is being re-assigned a little later on. The assignment is redundant
and hence can be removed.
Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
dc161162e4
commit
56fcd40f8a
1 changed files with 1 additions and 1 deletions
|
|
@ -607,7 +607,7 @@ catmap_getnode_alloc:
|
|||
*/
|
||||
int netlbl_catmap_walk(struct netlbl_lsm_catmap *catmap, u32 offset)
|
||||
{
|
||||
struct netlbl_lsm_catmap *iter = catmap;
|
||||
struct netlbl_lsm_catmap *iter;
|
||||
u32 idx;
|
||||
u32 bit;
|
||||
NETLBL_CATMAP_MAPTYPE bitmap;
|
||||
|
|
|
|||
Loading…
Reference in a new issue