Description
It looks like there are a couple of spots in llog_test_8 that use rc2 redundantly sine rc would always be 0 in those cases:
/home/green/smt/git/lustre-release/lustre/obdclass/llog_test.c:995 llog_test_8() warn: we tested 'rc' before and it was 'false' /home/green/smt/git/lustre-release/lustre/obdclass/llog_test.c:1026 llog_test_8() warn: we tested 'rc' before and it was 'false'
I feel like if we take them out and replace with just plain rc assignment, the code would become a tiny bit more readable.
Attachments
Activity
Labels | Original: easy | New: easy tests |
Labels | New: easy |