diff options
author | Lee Jones <[email protected]> | 2020-08-14 12:39:24 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-08-14 20:42:25 -0700 |
commit | 327afdd7c0d13695e8fcbaa0995d451b34c3107b (patch) | |
tree | ebf37862779db3f05231a838276ad2dcd66beb6f /scripts/gdb/linux/tasks.py | |
parent | 026ff46b42f4929b25ef28e1e69dd302835c9783 (diff) |
net: fddi: skfp: smt: Place definition of 'smt_pdef' under same stipulations as its use
The variable 'smt_pdef' is only used if LITTLE_ENDIAN is set, so only
define it if this is the case.
Fixes the following W=1 kernel build warning(s):
drivers/net/fddi/skfp/smt.c:1572:3: warning: ‘smt_pdef’ defined but not used [-Wunused-const-variable=]
Cc: "David S. Miller" <[email protected]>
Cc: Jakub Kicinski <[email protected]>
Cc: Tetsuo Handa <[email protected]>
Cc: [email protected]
Signed-off-by: Lee Jones <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions