diff options
| author | Frans Klaver <[email protected]> | 2015-01-14 09:15:41 +0100 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2015-01-20 13:58:30 +0100 |
| commit | 5c3faad29b266da015e3726cff6556df5c3cd9f5 (patch) | |
| tree | f1c8a009fd4077eec507174728bb8336b67aae9d /drivers/base/node.c | |
| parent | 0428c40d4c448f5dc63b0f76de14fa0affa7aa2f (diff) | |
power: reset: ltc2952: cleanup control flow in poweroff_handler
ltc2952_poweroff_handler uses gotos to return from the function. Since
we don't do cleanups exiting this function, just return IRQ_HANDLED on
the spot and be done with it.
While at it, remove the variable 'ret'. It was never used very much.
Signed-off-by: Frans Klaver <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'drivers/base/node.c')
0 files changed, 0 insertions, 0 deletions