aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authortangmeng <[email protected]>2022-02-16 11:04:25 +0800
committerArnaldo Carvalho de Melo <[email protected]>2022-02-16 10:38:03 -0300
commit662a9810fcca3d9b3435187d45b759b9649c4551 (patch)
tree6006190e095ff518e314072fd6af32742b87d4c4 /drivers/fpga/fpga-bridge.c
parent87a73bdc421ac702c248002a0a2e62f08c6e7682 (diff)
perf top: Remove redundant 'err' variable
The variable 'err' in the perf_event__process_sample() is only used in the only one judgment statement, it is not used in other places. So, use the return value from hist_entry_iter__add() directly instead of taking this in another redundant variable. Signed-off-by: tangmeng <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions