diff options
author | Alberto Garcia | 2015-06-29 15:12:13 +0200 |
---|---|---|
committer | Stefan Hajnoczi | 2015-07-02 11:06:23 +0200 |
commit | 764ba3ae511adddfa750db290ac8375d660ca5b9 (patch) | |
tree | acbc34609f422f0f2bb0f9cb39ad8d4c8c39bf96 /tests/qemu-iotests/iotests.py | |
parent | block/nfs: limit maximum readahead size to 1MB (diff) | |
download | qemu-764ba3ae511adddfa750db290ac8375d660ca5b9.tar.gz qemu-764ba3ae511adddfa750db290ac8375d660ca5b9.tar.xz qemu-764ba3ae511adddfa750db290ac8375d660ca5b9.zip |
block: remove redundant check before g_slist_find()
An empty GSList is represented by a NULL pointer, therefore it's a
perfectly valid argument for g_slist_find() and there's no need to
make any additional check.
Signed-off-by: Alberto Garcia <berto@igalia.com>
Message-id: 1435583533-5758-1-git-send-email-berto@igalia.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/iotests.py')
0 files changed, 0 insertions, 0 deletions