diff options
author | Andy Lutomirski <[email protected]> | 2016-09-16 11:16:09 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2016-09-24 10:56:25 -0600 |
commit | 26501db8dcbc3c63c0d8fb6c5bb098bc7d35d741 (patch) | |
tree | 3da2b32d0d4c81951078f0528f78c31e8fcf5ee7 /tools/perf/util/trace-event-scripting.c | |
parent | 2e5d0baa04845dc3a3d7dfa33d7663de270bb146 (diff) |
nvme/scsi: Remove power management support
As far as I can tell, there is basically nothing correct about this
code. It misinterprets npss (off-by-one). It hardcodes a bunch of
power states, which is nonsense, because they're all just indices
into a table that software needs to parse. It completely ignores
the distinction between operational and non-operational states.
And, until 4.8, if all of the above magically succeeded, it would
dereference a NULL pointer and OOPS.
Since this code appears to be useless, just delete it.
Signed-off-by: Andy Lutomirski <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Acked-by: Jay Freyensee <[email protected]>
Tested-by: Jay Freyensee <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions