aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netfront.c
diff options
context:
space:
mode:
authorAndrew Lunn <[email protected]>2020-10-31 00:58:32 +0000
committerJakub Kicinski <[email protected]>2020-11-02 23:52:22 +0000
commit3858632a0d22a56a035373924fc3f98ea1afa286 (patch)
treef303a0494f89243c10093eb5ecc3656fa9d4d9bb /drivers/net/xen-netfront.c
parentdrivers: net: tulip: Fix set but not used with W=1 (diff)
downloadkernel-3858632a0d22a56a035373924fc3f98ea1afa286.tar.gz
kernel-3858632a0d22a56a035373924fc3f98ea1afa286.zip
drivers: net: davicom: Fixed unused but set variable with W=1
drivers/net/ethernet/davicom//dm9000.c: In function ‘dm9000_dumpblk_8bit’: drivers/net/ethernet/davicom//dm9000.c:235:6: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] The driver needs to read packet data from the device even when the packet is known bad. There is no need to assign the data to a variable during this discard operation. Signed-off-by: Andrew Lunn <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/xen-netfront.c')
0 files changed, 0 insertions, 0 deletions