9pfs: drop useless v9fs_string_null() function
commitabdf008640b7ff59ac4c08c85f76ed861290c60e
authorGreg Kurz <groug@kaod.org>
Fri, 16 Sep 2016 06:56:15 +0000 (16 08:56 +0200)
committerGreg Kurz <groug@kaod.org>
Fri, 16 Sep 2016 06:56:15 +0000 (16 08:56 +0200)
treef4e48252299a36c4abbcdeb4ecc36925631c6f65
parentda4bc86c540991902e32e4e840c6ada573240254
9pfs: drop useless v9fs_string_null() function

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 <groug@kaod.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
fsdev/9p-marshal.c
fsdev/9p-marshal.h
hw/9pfs/9p.c