Re: [Qemu-devel] [PATCH 3/4] 9pfs: drop useless v9fs_string_null() function

2016-09-15 Thread Cédric Le Goater
On 09/15/2016 04:24 PM, Greg Kurz wrote: > The v9fs_string_null() function just calls v9fs_string_free(). Also it > only has 4 users, whereas v9fs_string_free() has 87. > > This patch converts users to call directly v9fs_string_free() and drops > the useless function. Reviewed-by: Cédric Le Goate

[Qemu-devel] [PATCH 3/4] 9pfs: drop useless v9fs_string_null() function

2016-09-15 Thread Greg Kurz
The v9fs_string_null() function just calls v9fs_string_free(). Also it only has 4 users, whereas v9fs_string_free() has 87. This patch converts users to call directly v9fs_string_free() and drops the useless function. Signed-off-by: Greg Kurz --- fsdev/9p-marshal.c |5 - fsdev/9p-marsha