diff options
| author | Dan Carpenter <[email protected]> | 2012-05-17 07:08:14 +0000 |
|---|---|---|
| committer | Nicholas Bellinger <[email protected]> | 2012-05-17 19:04:53 +0000 |
| commit | b1e41d8cd43910fee82f27ab1381bc6cd66910b3 (patch) | |
| tree | d653bbb80bf2b3144e05223413f6792c87fc3d28 /tools/perf/util/trace-event-scripting.c | |
| parent | target: Handle ATA_16 passthrough for pSCSI backend devices (diff) | |
| download | kernel-b1e41d8cd43910fee82f27ab1381bc6cd66910b3.tar.gz kernel-b1e41d8cd43910fee82f27ab1381bc6cd66910b3.zip | |
iscsi-target: remove dead code in iscsi_check_valuelist_for_support
Neither "acceptor_values" nor "proposer_values" can be NULL here when
scanning the value lists for incoming iSCSI login parameters such as
HeaderDigest=CRC32C,None.
Smatch complains because we are not allowed to pass NULL pointers to
strchr(). Also I removed a second later check for "!acceptor_values"
because it gets checked on the next line in the do while condition.
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions
