OpenCloudOS-Kernel/drivers/net/ethernet/3com
Lee Jones 2083bebca7 net: ethernet: 3com: 3c574_cs: Remove set but unused variables 'tx' and 'rx'
Fixes the following W=1 kernel build warning(s):

 drivers/net/ethernet/3com/3c574_cs.c: In function ‘update_stats’:
 drivers/net/ethernet/3com/3c574_cs.c:954:9: warning: variable ‘tx’ set but not used [-Wunused-but-set-variable]
 954 | u8 rx, tx, up;
 | ^~
 drivers/net/ethernet/3com/3c574_cs.c:954:5: warning: variable ‘rx’ set but not used [-Wunused-but-set-variable]
 954 | u8 rx, tx, up;
 | ^~

Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Shannon Nelson <snelson@pensando.io>
Cc: Heiner Kallweit <hkallweit1@gmail.com>
Cc: Martin Habets <mhabets@solarflare.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Donald Becker <becker@scyld.com>
Cc: David Hinds <dahinds@users.sourceforge.net>
Cc: netdev@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-08-14 20:42:25 -07:00
..
3c59x.c docs: networking: reorganize driver documentation again 2020-06-26 16:08:44 -07:00
3c509.c drivers: Remove inclusion of vermagic header 2020-04-21 13:27:37 -07:00
3c515.c drivers: Remove inclusion of vermagic header 2020-04-21 13:27:37 -07:00
3c574_cs.c net: ethernet: 3com: 3c574_cs: Remove set but unused variables 'tx' and 'rx' 2020-08-14 20:42:25 -07:00
3c589_cs.c net/3com: Delete driver and module versions from 3com drivers 2020-02-24 11:23:36 -08:00
Kconfig docs: networking: reorganize driver documentation again 2020-06-26 16:08:44 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
typhoon.c typhoon: use generic power management 2020-07-01 12:58:33 -07:00
typhoon.h net: typhoon: Add required whitespace after keywords 2020-03-23 22:10:28 -07:00