Re: [PATCH v8 33/45] powerpc/powernv: Simplify pnv_eeh_reset()

2016-04-19 Thread Alexey Kardashevskiy
On 02/17/2016 02:44 PM, Gavin Shan wrote: 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

Re: [PATCH v8 33/45] powerpc/powernv: Simplify pnv_eeh_reset()

2016-02-16 Thread Andrew Donnellan
On 17/02/16 14:44, Gavin Shan wrote: 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 This

[PATCH v8 33/45] powerpc/powernv: Simplify pnv_eeh_reset()

2016-02-16 Thread Gavin Shan
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 ---