On 07/10/2017 11:56 AM, Fam Zheng wrote:
> On Mon, 07/10 11:35, Denis V. Lunev wrote:
>> Signed-off-by: Denis V. Lunev <[email protected]>
>> CC: Stefan Hajnoczi <[email protected]> (supporter:Block I/O path)
>> CC: Fam Zheng <[email protected]> (supporter:Block I/O path)
> Maybe use "--noroles"? The parenthesis part is not really useful.
good thing. May be this should be default. I have missed to clear
that at commit stage.
Den
>> ---
>> block/io.c | 1 -
>> 1 file changed, 1 deletion(-)
>>
>> diff --git a/block/io.c b/block/io.c
>> index ed31810c0a..e5c6dc77d3 100644
>> --- a/block/io.c
>> +++ b/block/io.c
>> @@ -2464,7 +2464,6 @@ int coroutine_fn bdrv_co_pdiscard(BlockDriverState
>> *bs, int64_t offset,
>> assert(max_pdiscard >= bs->bl.request_alignment);
>>
>> while (count > 0) {
>> - int ret;
>> int num = count;
>>
>> if (head) {
>> --
>> 2.11.0
>>
>>
> Reviewed-by: Fam Zheng <[email protected]>