summaryrefslogtreecommitdiff
path: root/drivers/char/tlclk.c
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2020-11-10 04:02:42 +0100
committerJakub Kicinski <kuba@kernel.org>2020-11-12 14:49:39 -0800
commit5b320b53431eb3396b1f16935f59bdcb88ccc7e8 (patch)
tree74ca8003dfd96c9b60319ecd1f06c813a7174605 /drivers/char/tlclk.c
parentcef211968c2dad7d6bc9ee136c16272eb18b5632 (diff)
drivers: net: smc91x: Fix set but unused W=1 warning
drivers/net/ethernet/smsc/smc91x.c:706:51: warning: variable ‘pkt_len’ set but not used [-Wunused-but-set-variable] 706 | unsigned int saved_packet, packet_no, tx_status, pkt_len; The read of the packet length in the descriptor probably needs to be kept in order to keep the hardware happy. So tell the compiler we don't expect to use the value by using the __always_unused attribute. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/char/tlclk.c')
0 files changed, 0 insertions, 0 deletions