diff options
author | Ajay Singh <ajay.kathat@microchip.com> | 2018-02-19 16:29:44 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-02-19 18:12:54 +0100 |
commit | da74b58265698e10049dcf3fed05b31953097242 (patch) | |
tree | 4036fa8a1c2325340373059ea5d7c19ac10be86b /drivers | |
parent | staging: wilc1000: rename wilc_remove_key() parameters to avoid camelCase (diff) | |
download | linux-da74b58265698e10049dcf3fed05b31953097242.tar.xz linux-da74b58265698e10049dcf3fed05b31953097242.zip |
staging: wilc1000: remove Unnecessary parentheses around 'hif_set_mc->cnt'
Fix "Unnecessary parentheses around 'hif_set_mc->cnt'" issue found by
checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/wilc1000/host_interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index 7ddd20d85569..6f9396620a65 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -2430,7 +2430,7 @@ static void Handle_SetMulticastFilter(struct wilc_vif *vif, *cur_byte++ = ((hif_set_mc->cnt >> 16) & 0xFF); *cur_byte++ = ((hif_set_mc->cnt >> 24) & 0xFF); - if ((hif_set_mc->cnt) > 0) + if (hif_set_mc->cnt > 0) memcpy(cur_byte, wilc_multicast_mac_addr_list, ((hif_set_mc->cnt) * ETH_ALEN)); |