From 328c500001fcd787d7c38b054617d52637b17e4e Mon Sep 17 00:00:00 2001 From: Changpeng Liu Date: Wed, 10 Apr 2019 00:00:59 -0400 Subject: [PATCH] blobfs: remove unused parameter in spdk_fs_cb_args For now all the spdk_fs_cb_args used in blobfs are in the spdk_fs_request context, so the field 'from_request' in spdk_fs_cb_args can be removed. Change-Id: I9b40cffeac8a673a87406ee89ad248939593806b Signed-off-by: Changpeng Liu Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/450721 Tested-by: SPDK CI Jenkins Reviewed-by: Shuhei Matsumoto Reviewed-by: Jim Harris --- lib/blobfs/blobfs.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/blobfs/blobfs.c b/lib/blobfs/blobfs.c index dc1346161..f4b17ca2d 100644 --- a/lib/blobfs/blobfs.c +++ b/lib/blobfs/blobfs.c @@ -134,7 +134,6 @@ struct spdk_fs_cb_args { struct spdk_filesystem *fs; struct spdk_file *file; int rc; - bool from_request; union { struct { TAILQ_HEAD(, spdk_deleted_file) deleted_files; @@ -284,7 +283,6 @@ alloc_fs_request(struct spdk_fs_channel *channel) } memset(req, 0, sizeof(*req)); req->channel = channel; - req->args.from_request = true; return req; }