diff options
| author | Gavin Shan <[email protected]> | 2016-05-03 15:41:44 +1000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2016-05-11 21:54:26 +1000 |
| commit | 4fad494321351f0ac412945c6a464109ad96734a (patch) | |
| tree | c0a8c487d5af6217864e25ab4b16f263f732bc83 /fs/btrfs/dev-replace.c | |
| parent | 4a5954ed7726497415ae49204cfc8e38ee8b127e (diff) | |
powerpc/powernv: Simplify pnv_eeh_reset()
This drops unnecessary nested if statements in pnv_eeh_reset() to
improve the code readability. After the changes, the unused local
variable "ret" is dropped as well. No logical changes introduced.
Signed-off-by: Gavin Shan <[email protected]>
Reviewed-by: Andrew Donnellan <[email protected]>
Reviewed-by: Alexey Kardashevskiy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions