From 9f22ac412d90434c62714e6e27cf1fb9de67945b Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Tue, 2 Aug 2022 10:40:19 -0400 Subject: [PATCH] cephfs admin: remove unnecessary import C lines All the C functions needed by cephfs/admin package come from one of the other go-ceph packages (rados, cephfs, etc) there's no good reason to have this unused import in these files. Signed-off-by: John Mulligan --- cephfs/admin/metadata.go | 2 -- cephfs/admin/snapshot_metadata.go | 2 -- 2 files changed, 4 deletions(-) diff --git a/cephfs/admin/metadata.go b/cephfs/admin/metadata.go index 38f6112..7eabc71 100644 --- a/cephfs/admin/metadata.go +++ b/cephfs/admin/metadata.go @@ -3,8 +3,6 @@ package admin -import "C" - // GetMetadata gets custom metadata on the subvolume in a volume belonging to // an optional subvolume group based on provided key name. // diff --git a/cephfs/admin/snapshot_metadata.go b/cephfs/admin/snapshot_metadata.go index 00fe653..6f1c60f 100644 --- a/cephfs/admin/snapshot_metadata.go +++ b/cephfs/admin/snapshot_metadata.go @@ -3,8 +3,6 @@ package admin -import "C" - // GetSnapshotMetadata gets custom metadata on the subvolume snapshot in a // volume belonging to an optional subvolume group based on provided key name. //