diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2011-02-22 06:56:18 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2011-02-22 07:02:07 -0300 |
commit | 8635bf6ea3402154eec64763e6ed14972013c1c1 (patch) | |
tree | c4be2ace553029aa4139068c689ba47e8c86b8b0 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | e603dc15072c7fec0ae263597e6dabc3bb4c5c5b (diff) |
perf probe: Remove redundant checks
While fixing an error propagating problem in f809b25 I added two
redundant checks.
I did that because I didn't expect the checks to be on the while and for
loop condition expression, where they are tested before we run the loop,
where the 'ret' variable is set.
So remove it from there and leave it just after it is actually set,
eliminating unneded tests.
Reported-by: Masami Hiramatsu <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Tom Zanussi <[email protected]>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions