diff options
| author | Amitoj Kaur Chawla <[email protected]> | 2016-02-13 20:32:48 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-02-14 16:21:15 -0800 |
| commit | acdd1b8e681405beeb1f73333947fd5a42b871e9 (patch) | |
| tree | 2b7fe36ba384af006880803d7f4089d7605e84ce /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | d60fc1bbc26a16e79258d9b11baea83f49ff7776 (diff) | |
staging: lustre: obdclass: Use IS_ERR_OR_NULL
Use macro IS_ERR_OR_NULL in place of tests for NULL and IS_ERR.
The Coccinelle semantic patch used to make the change is as follows:
//<smpl>
@@
expression e;
@@
- e == NULL || IS_ERR(e)
+ IS_ERR_OR_NULL(e)
//</smpl>
Signed-off-by: Amitoj Kaur Chawla <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions