Re: [libvirt] [PATCH] util: removing dead code inside virstoragefile.

2017-06-02 Thread Peter Krempa
On Thu, Jun 01, 2017 at 22:56:09 -0300, Julio Faracco wrote: > The host address or the socket path have already been checked at the begining > of the function virStorageSourceParseNBDColonString(). So, when the parameter > is not a unix socket, there is no reason to check the address again becaus

[libvirt] [PATCH] util: removing dead code inside virstoragefile.

2017-06-01 Thread Julio Faracco
The host address or the socket path have already been checked at the begining of the function virStorageSourceParseNBDColonString(). So, when the parameter is not a unix socket, there is no reason to check the address again because if it does not exists, the logic will fail in the first IF condi