2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 15:13:55 +08:00
linux-next/drivers/net/fjes
Colin Ian King b67030b139 fjes: use currently unused variable my_epid and max_epid
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-07-05 19:34:21 +09:00
..
fjes_debugfs.c fjes: Add debugfs entry for EP status information in fjes driver 2016-10-14 12:04:58 -04:00
fjes_ethtool.c net: fjes: use new api ethtool_{get|set}_link_ksettings 2017-03-12 19:28:07 -07:00
fjes_hw.c fjes: ethtool -w and -W support for fjes driver 2016-10-14 12:04:57 -04:00
fjes_hw.h fjes: ethtool -w and -W support for fjes driver 2016-10-14 12:04:57 -04:00
fjes_main.c fjes: use currently unused variable my_epid and max_epid 2018-07-05 19:34:21 +09:00
fjes_regs.h fjes: net_device_ops.ndo_open and .ndo_stop 2015-08-24 14:06:34 -07:00
fjes_trace.c fjes: Add tracepoints in fjes driver 2016-10-14 12:04:57 -04:00
fjes_trace.h fjes: fix format string for trace output 2016-10-17 13:07:52 -04:00
fjes.h fjes: Add debugfs entry for EP status information in fjes driver 2016-10-14 12:04:58 -04:00
Makefile fjes: Add debugfs entry for EP status information in fjes driver 2016-10-14 12:04:58 -04:00