aboutsummaryrefslogtreecommitdiff
path: root/gcc/predict.c
diff options
context:
space:
mode:
authorJose E. Marchesi <jose.marchesi@oracle.com>2021-12-06 21:57:53 +0100
committerJose E. Marchesi <jose.marchesi@oracle.com>2021-12-06 21:57:53 +0100
commitbd0a61befcb4046c77a9bf144e92bc3ae99fb9f8 (patch)
tree6413fff5f14290e0246870ba6a52e9d07233ade9 /gcc/predict.c
parent63c59f054a5cd6d356ad8bce79182ab205b7aa43 (diff)
downloadgcc-bd0a61befcb4046c77a9bf144e92bc3ae99fb9f8.zip
gcc-bd0a61befcb4046c77a9bf144e92bc3ae99fb9f8.tar.gz
gcc-bd0a61befcb4046c77a9bf144e92bc3ae99fb9f8.tar.bz2
bpf: mark/remove unused arguments and remove an unused function
This patch does a little bit of cleanup by removing some unused arguments, or marking them as unused. It also removes the function ctfc_debuginfo_early_finish_p and the corresponding hook macro definition, which are not used by GCC. gcc/ * config/bpf/bpf.c (bpf_handle_preserve_access_index_attribute): Mark arguments `args' and flags' as unused. (bpf_core_newdecl): Remove unused local `newdecl'. (bpf_core_newdecl): Remove unused argument `loc'. (ctfc_debuginfo_early_finish_p): Remove unused function. (TARGET_CTFC_DEBUGINFO_EARLY_FINISH_P): Remove definition. (bpf_core_walk): Do not pass a location to bpf_core_newdecl.
Diffstat (limited to 'gcc/predict.c')
0 files changed, 0 insertions, 0 deletions