diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2011-12-04 16:16:27 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-12-08 15:00:44 -0800 |
commit | 3a5352fc9d316fe1be18daf80571e80805e06f11 (patch) | |
tree | 4023316df7c0c410748c9a27cf3b50e49738858e /tools/perf/scripts/python/syscall-counts.py | |
parent | 91762057f439bb0adb33ca857b6022fda4b1fd69 (diff) |
staging/mei: Don't check if loop cursor is null
list_for_each_entry_safe(pos, next, &head, list)
if (pos) {
....
}
This check isn't needed. The list cursor in a list_for_each()
loop is always a valid pointer
Cc: Oren Weil <oren.jer.weil@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions